Push Xcode Project to TFS Git repository

白昼怎懂夜的黑 提交于 2019-12-24 09:24:42

问题


Trying to push Xcode project to TFS (Git repository), i created local repository for my project in Xcode, then install Git Credential Manager from GitHub, then trying to connect repository from Xcode by adding remote or connect to git repository, but the error message is "Authentication failed because the authentication credentials were rejected." Would you please provide me with the correct steps. Knowing that TFS 2015 & Xcode 8.2


回答1:


The easiest solution for me was to just add your local repository with command line.

git remote add origin ADRESSOFREPO

Afterwards you can use the version control in Xcode to push and pull




回答2:


TFS 2017 offers you SSH access. The earlier versions, like 2015, requires to setup SSL and Basic Authentication on the server. I guess that this is not properly configured for you.

The steps to setup SSL are described in details in the docs. Here you can find what is required to configure Basic Authentication.

A couple of caveats:

  • username should be entered in domain\user format
  • do not enable Basic Authentication on the default non-SSL site


来源:https://stackoverflow.com/questions/43090304/push-xcode-project-to-tfs-git-repository

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!