How to merge two branches with the Mac OS X git client Gity
I'm having trouble merging two branches with Gity. Wh开发者_JAVA技巧en I do a checkout on my alternative branch and click: "Merge into master" nothing seems to happen...
Any thoughts?
If you click on master after having checked-out master, then the option "merge into master" won't merge anything.
If not, according to the python source called by the XCode, it should mention any error message if the merge were to fail.
Since it does not mention anything, that means the merge doesn't have to do anything (like when the ancestor-commit
equals merge
)
Remember that to merge a branch 'B
' to master
, you need to:
git checkout master
(which you did)git merge B
(in other word, merge must be called with 'B
', not 'master
', for 'B
' to be merged to 'master
'): if you are sureGTOpMerge.m
does that when you are selecting 'merge to master
', then it is a bug.
精彩评论