git merge的使用

  在实际开发中经常会用到git merge操作。但很多情况下我们并不想合并后直接提交,这里介绍git merge的两个常用参数: --no-commit --no-commit 参数使得合并后,为了防止合并失败并不自动提交,能够给使用者一个机会在提交前审视和修改合并结果。(这个使用后不会合并为一次commit) git merge --no-commit dev.master   // dev.
相关文章
相关标签/搜索