将Xcode Project推送到TFS Git存储库

问题描述:

尝试将Xcode项目推送到TFS(Git存储库),我在Xcode中为我的项目创建了本地存储库,然后从GitHub安装Git Credential Manager,然后尝试通过添加远程或连接到git存储库来从Xcode连接存储库,但是错误消息是身份验证失败,因为身份验证凭据被拒绝." 您能给我提供正确的步骤吗? 知道TFS 2015& Xcode 8.2

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

对我来说,最简单的解决方案是仅使用命令行添加本地存储库.

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

git remote add origin ADRESSOFREPO

之后,您可以使用Xcode中的版本控制来进行推拉

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