git合并没有自动提交
是否可以执行git merge,但无需提交? “ man git merge”这样说: With --no-commit perform the merge but pretend the merge failed and do not autocommit, to give the user a chance to inspect and further tweak the merge result before committing. 但是当我尝试使用git merge时,--no-commit它仍然会自动提交。这是我所做的: $> ~/git/testrepo$ git checkout master Switched to branch 'master' $> ~/git/testrepo$ git …