문제

I'm having trouble merging two branches with Gity. When 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 sure GTOpMerge.m does that when you are selecting 'merge to master', then it is a bug.
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top