在尝试将远程分支分支到我的工作场所后,
我收到以下错误:
**$ git checkout -b canc_el --track origin/canc**
error: The following untracked working tree files would be overwritten by checkout:
src/iphone/FacebookSDK.framework/Headers
src/iphone/FacebookSDK.framework/Resources
src/iphone/FacebookSDK.framework/Versions/Current
src/iphone/Xcode/Crashlytics.framework/Headers
Please move or remove them before you can switch branches.
Aborting
那很奇怪。我没有将它们从跟踪中删除。
我希望它们被覆盖。我对他们一无所知。
我应该怎么办?
更新
我试图删除并签出这些文件夹并收到此错误:
$ git rm src/iphone/FacebookSDK.framework/Headers
fatal: pathspec 'src/iphone/FacebookSDK.framework/Headers' did not match any files
$ git checkout src/iphone/FacebookSDK.framework/Headers
error: pathspec 'src/iphone/FacebookSDK.framework/Headers' did not match any file(s) known to git.