git directive

### normal

 - add : git add file / git add

 - remove : git remove file

 - status : git status

 - commit : git commint -m 'describtion'

 - get data : git pull

 - push data : git push origin name

 

### branch

 - show : git branch

 - create : git branch name

 - rename : git branch -m oldName newName

 - checkout : git checkout name

 - create and checkout : git checkout -b name

 - merge : git merge name

 - delete : git branch -d name

 

 


thanks for : http://www.cnblogs.com/1-2-3/archive/2010/07/18/git-commands.html

posted @ 2017-05-02 16:58  名字不好起啊  阅读(131)  评论(0编辑  收藏  举报