删除git项目中UserInterfaceState.xcuserstate文件

1:cd到当前项目路径之下;
2:

git rm --cached [YourProjectName].xcworkspace/xcuserdata/[YourUsername].xcuserdatad/UserInterfaceState.xcuserstate
git commit -m "Removed the stupid strange file that shouldn't be tracked"
git push

3:提交当前git
4:成功

你可能感兴趣的:(删除git项目中UserInterfaceState.xcuserstate文件)