当前位置: 代码迷 >> Ruby/Rails >> An error occurred while performing `git pull` on repo `master
  详细解决方案

An error occurred while performing `git pull` on repo `master

热度:687   发布时间:2016-04-29 02:25:03.0
An error occurred while performing `git pull` on repo `master`

pod install或者pod setup 报错如下:

?

[!] An error occurred while performing `git pull` on repo `master`.

[!] /usr/bin/git pull --ff-only

?

?

fatal: Not possible to fast-forward, aborting.

?

进入~/.cocoapods/repos/master 删除 master

重新pod setup

?

详情请见:https://github.com/CocoaPods/CocoaPods/issues/776

https://github.com/CocoaPods/CocoaPods/issues/948

?

解决问题。

  相关解决方案