Last active
August 29, 2015 14:06
-
-
Save hachinobu/3b4e5dcc715c7823111e to your computer and use it in GitHub Desktop.
pbxprojファイルのコンフリクト防止 mergepbxの使い方
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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