Xcode and Git Source Control : “The working copy XXXXX failed to commit files”

后端 未结 5 1963
醉话见心
醉话见心 2020-12-05 09:18

I have been using Xcode to develop and publish apps for almost a year. I have been using git as the local repository and bitbucket as the remote repository. Everything has b

5条回答
  •  执念已碎
    2020-12-05 10:13

    I was getting this also. at first I could restart the mac and everything was working fine. Eventually though the problem came back with a vengeance even with a restart it would not let me commit so I had to do the command line loving. one caveat being that you have to type xcrun before any git commands in terminal when using vanilla git installed with Xcode.

    so type:

    xcrun git config --global user.email your@email.com
    xcrun git config --global user.name "your name"
    

    after doing this everything was fine and dandy.

提交回复
热议问题