Xcode: “The working copy ____ has uncommitted changes” vs. git status: “nothing to commit, working directory clean”

前端 未结 4 1881
无人及你
无人及你 2021-01-31 16:57

In Xcode 5.0.2, I try to pull from a remote and am given the following message:

\"The working copy \'project-name\' has uncommitted changes. Commit or discard the change

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-31 17:33

    App Code solution:

    1. Confirm git status in Terminal:

      git status

    2. Open 'yourProject.xcworkspace' in App Code

    3. VCS > Git > Branches...

    4. Remote Branches > yourBranch > Checkout as new local branch

    5. Confirm fix via Terminal:

      git status

提交回复
热议问题