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

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


进入项目目录:

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.