- 在使用Xcode拉取时,显示报错
fatal: cannot use bare repository '/Users/xxx/Library/Developer/Xcode/DerivedData/Demo-govkxscpolucocegsdvmdptyooyr/SourcePackages/repositories/SDWebImageSVGKitPlugin-f39e507b' (safe.bareRepository is 'explicit')
是因为sourceTree升级修改全局git配置导致的,修改~/.gitconfig
即可
修改后重新同步(File - Reset Package Caches )即可