Xcode: “The working copy __ has uncommitted changes” vs. Git status: “nothing to commit, working directory clean”
解决方案:
1.Open terminal - cd / to your project directory.
2.Type in: “git reset –hard”
3.Type in git status
2.The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
解决方案:git push origin master