我最近在 bitbucket 上建立了一个 git 存储库,并在其中添加了一个旧项目。我已经提交并推动了一项更改作为测试,但现在我面临这个问题。
每次我尝试拉、推或合并时,都会收到以下错误消息:
“工作副本 'Project_Name' 有未提交的更改”。
我已经多次提交了这个更改:
编辑:我做了'git status'并得到以下信息:
# On branch master
# Your branch is ahead of 'origin/master' by 2 commits.
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: Crunch.xcodeproj/project.xcworkspace/xcuserdata/Neil.xcuserdatad/UserInterfaceState.xcuserstate
#
no changes added to commit (use "git add" and/or "git commit -a")
非常感谢您的帮助,SirKaydian