Why TFS with GIT is not working from command line?

后端 未结 11 1595
不思量自难忘°
不思量自难忘° 2021-02-01 17:47

I want to use the git command line tools with the Microsoft Team Foundation Server Git repositories.

But every time I want to access to remote repos the authentication f

11条回答
  •  没有蜡笔的小新
    2021-02-01 18:05

    Finally a collegue hit the solution and I will post it here:

    Use the command:

    git config --global credential.http://[tfs_server].integrated true
    

    Of course, replace [tfs_server] with your own TFS server host name.

    When Credential Manager asks for credentials just leave blanks and press OK. (I this way authentication will be performed using Kerberos).

    Check here for more information https://github.com/Microsoft/Git-Credential-Manager-for-Windows#q-i-thought-microsoft-was-maintaining-this-why-does-the-gcm-not-work-as-expected-with-tfs

提交回复
热议问题