sourcetree git合并问题

在使用sourcetree作多功能合并(合并不提交)的时候,有时按钮是灰色的,直接点击右上角命令行模式git

git merge <branch1> --no-commit

 

 合并某个提交命令行

git cherry-pick xxx --no-commit

 

另外说下还原的操做,code

重置到某个分支,回滚提交,拉取,从新筛选须要提交的文件,再推送 才算成功blog

 

git revert xx -m 1 --no-commitget

 

 

 

 转载请注明博客出处:http://www.cnblogs.com/cjh-notes/博客

相关文章
相关标签/搜索