git总结

1、git config --global user.name

      git config --global user.mail

 

2、git init  初始化仓库

3、git add   git checkout --file   git reset HEAD file

4、git commit   git reset --hard file

5、git cherry-pick  git merge

6、 git rebase master test  基于master分支合并test分支

 http://gitbook.liuhui998.com/index.html  git中文社区

posted @ 2017-11-09 15:37  我在途中  阅读(123)  评论(0编辑  收藏  举报