git status
– Make sure your current area is clean.git pull
– Get the latest version from the remote. This saves merging issues later.- Edit your files and make your changes. Remember to run your linter and do unit tests!
git status
– Find all files that are changed. Make sure to watch untracked files too!git add [files]
– Add the changed files to the staging area.git commit -m "message"
– Make your new commit.git push origin [branch-name]
– Push your changes up to the remote.
git - work flow
猜你喜欢
转载自www.cnblogs.com/sufei-duoduo/p/9487317.html
今日推荐
周排行