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

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


进入项目目录:

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

你可能感兴趣的:(提交代码, 经常出现工作副本“项目”有未提交的更改 The working copy "Project" has uncommitted changes.)