Open GammaCodeX opened 5 years ago
You probably need to add mergepbx as a merge tool to your git configuration. It's in the README, but some of the tutorials online miss this step.
All you should have to do is add the following to ~/.gitconfig
(which you can create if you don't have one):
#driver for merging Xcode project files
[mergetool "mergepbx"]
cmd = mergepbx "$BASE" "$LOCAL" "$REMOTE" -o "$MERGED"
Hi
I've installed mergepbx via brew
brew install mergepbx
and tried to use it to merge a.pbxproj
file withgit mergetool --tool=mergepbx something.xcodeproj/project.pbxproj
but git gives the outputHowever running
mergepbx
barewords gives the expectedmergepbx: error: too few arguments
along with theusage:
message.which mergepbx
reveals it is located in/usr/local/bin/mergepbx
but using the entire path for--tool=
still gives the unknown merge tool.Adding the lines from the README to .gitattributes and .gitconfig did not change this
How do I proceed? I would have hoped brew would have informed me if there was a caveat to installing using homebrew...