git clone: Authentication failed for

前端 未结 12 1327
天命终不由人
天命终不由人 2020-12-25 09:57

Trying to access private corporate tfs. They gave me access by giving appropriate rights to windows user (domain\\login).

I\'m fine with accessing web interface of t

12条回答
  •  执笔经年
    2020-12-25 10:20

    After trying almost everything on this thread and others, continuing to Google, the only thing that worked for me, in the end, was to start Visual Studio as my AD user via command line:

    cd C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE
    runas /netonly /user: devenv.exe
    

    Original issue: [1]: https://developercommunity.visualstudio.com/content/problem/304224/git-failed-with-a-fatal-errorauthentication-failed.html

    My situation is I'm on a personal machine connecting to a company's internal/local devops server (not cloud-based) that uses AD authorization. I had no issue with TFS, but with git could not get the clone to work (Git failed with a fatal error. Authentication failed for [url]) until I did that.

提交回复
热议问题