how to use git(3)

git checkout -b <new_branch_name>  创建分支并切换到分支

git branch -d <branch_name>删除分支

git show <commit>  比较commit和它的parent commit

git merge <branch1>  <branch2>合并两个分支

merge 的时候发生conflict需要自己去消除

posted on 2016-01-28 21:22  gavinXing  阅读(118)  评论(0)    收藏  举报