使用Xcode的Source Control时,老是出现UserInterfaceState.xcuserstat
文件没有commit的情况.
解决方法:
可能Git已经在track该文件了:
Git的文档写到:
To stop tracking a file that is currently tracked, use git rm --cached.
git rm --cached ProjectFolder.xcodeproj/project.xcworkspace/xcuserdata/myUserName.xcuserdatad/UserInterfaceState.xcuserstate
git commit -m "Removed file that shouldn't be tracked"
原文链接:http://www.jianshu.com/p/214a51001f64