Skip to content

Instantly share code, notes, and snippets.

@hachinobu
Last active August 29, 2015 14:06
Show Gist options
  • Save hachinobu/3b4e5dcc715c7823111e to your computer and use it in GitHub Desktop.
Save hachinobu/3b4e5dcc715c7823111e to your computer and use it in GitHub Desktop.
pbxprojファイルのコンフリクト防止 mergepbxの使い方
https://github.com/simonwagner/mergepbx
cloneする。
mergepbxプロジェクトに移動して
./build.py
~/.gitconfig に以下の設定を追加する
[merge "mergepbx"]
name = XCode project files merger
driver = mergepbx %O %A %B
同ディレクトリにmergepbxというファイルができるので
echo $PATH でパスを確認後、パスが通っている箇所にmergepbxファイルを配置。
自身のプロジェクトのルート配下に.gitattributesというファイルを作成して
*.pbxproj merge=mergepbx
と入力。
これでpbxprojファイルのコンフリクトを防ぐことができる。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment