提交代码, 经常出现工作副本“项目”有未提交的更改 The working copy "Project" has uncommitted changes.

来源:互联网 发布:linux系统网络配置文件 编辑:程序博客网 时间:2024/05/18 18:47


进入项目目录:

git rm --cached ProjectName.xcodeproj/project.xcworkspace/xcuserdata/username.xcuserdatad/UserInterfaceState.xcuserstate

git commit -m "Removed file that shouldn't be tracked"



来自: http://stackoverflow.com/questions/11910228/cannot-push-pull-or-merge-git-working-copy-has-uncommited-changes
1 0