Xcode 7 GM can not authenticate git repository

前端 未结 1 980

I could commit to this repository without problem with Xcode 6. git still works fine in terminal, i can commit both locally and to the remote. In Xcode 7, I can commit locally b

相关标签:
1条回答
  • 2021-02-02 17:45

    The problem is that you are using the SSH remote URL:

    remote.origin.url=git@bitbucket.org:myUserName/myProject.git
    

    You will need to switch to the HTTPS remote URL.

    git remote set-url origin https://bitbucket.org/myUserName/myProject.git
    

    Alternatively, just give up. Stop trying to use Xcode's internal git management. (It's pretty terrible, so no harm done.) If you want a GUI, use SourceTree; it's from the same people who give you Bitbucket and works with it beautifully.

    0 讨论(0)
提交回复
热议问题