Common commands for Git

Below commands are used with Git Bash on windows platform:


Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.

After you modified some files, use below commands to check in your modification:
git checkout -b new
git checkout new
git add -A
git commit -m "submit logout feature"
git push origin
git checkout master
git push origin
git branch -d new
git branch -D new

原文地址:https://www.cnblogs.com/vanessabutterfly/p/3101651.html