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

posted @ 2013-05-27 15:08  莫笑旧人  阅读(179)  评论(0编辑  收藏  举报