CocoaPodsで pod install しようとするとfatal: You cannot combine –no-ff with –ff-onlyって怒られる


タイトルの通りですが、CocoaPodsで pod setupしたあとにpod installしようとすると

$ pod install
Analyzing dependencies
[!] An error occurred while performing `git pull` on repo `master`.
[!] /usr/bin/git pull –ff-only

fatal: You cannot combine –no-ff with –ff-only.

というエラーが発生する。
エラーメッセージからも分かる通り、–no-ff–ff-onlyは共存出来ないため、–no-ffをtrueにしてあげると解決する

$ git config --global merge.ff true

これで解決。globalで管理するのがダメなのかなぁ。

iOS開発におけるパターンによるオートマティズム
木下 誠
ビー・エヌ・エヌ新社
売り上げランキング: 20,619

更新情報はFacebookページで!

ブログの更新、読んで役立つ他ブログの記事などを更新しています。




関連のある記事


カテゴリーiOS