最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Redundant GIT authentication request under TFS - Stack Overflow

programmeradmin0浏览0评论

in my company we started using TFS (2018) to manage projects. Company rules requires domain access to server so IT office configured TFS in this way... and it seems to work, I can access TFS server and see projects and manage them. Projects are set to use GIT as CVS tool, the problem arise when I try to make any access to the server trough git (i.e. fetch, pull, push ). It constantly pop ups an authentication dialog:

Where I need to press Continue without entering any info because if I set user / password the authentication fails.

BTW if I just press Continue everything works fine.

I followed DevOps / TFS tutorial to set git to work with DevOps / TFS server but this dialog keeps being prompted.

in my company we started using TFS (2018) to manage projects. Company rules requires domain access to server so IT office configured TFS in this way... and it seems to work, I can access TFS server and see projects and manage them. Projects are set to use GIT as CVS tool, the problem arise when I try to make any access to the server trough git (i.e. fetch, pull, push ). It constantly pop ups an authentication dialog:

Where I need to press Continue without entering any info because if I set user / password the authentication fails.

BTW if I just press Continue everything works fine.

I followed DevOps / TFS tutorial to set git to work with DevOps / TFS server but this dialog keeps being prompted.

Share Improve this question edited Feb 7 at 15:33 weirdgyn asked Feb 7 at 11:26 weirdgynweirdgyn 9381 gold badge19 silver badges52 bronze badges 2
  • can you switch to ssh? – eftshift0 Commented Feb 7 at 12:15
  • in short no... there's a company firewall rule that prevents to use ssh in such context – weirdgyn Commented Feb 7 at 15:31
Add a comment  | 

1 Answer 1

Reset to default 2

Where I need to press Continue without entering any info because if I set user / password the authentication fails. BTW if I just press Continue everything works fine.

Same windows pops up with TFS2018 and Git Credential manager on my side as below:

If you simply click the Continue button, it will pass with current login user, but for latter git operations, the window will still popsup as the credential is not stored.

To resolve it, you need to make sure the domain\user, password is correctly entered, git will proceed to clone, pull...etc, and it will automatically store the credentials in the Git Credential Manager. The window will not pop up again for later git operations.

Or, you can also manually create the record on credential manager following link here.

In addition, you can also store the credential with below steps:

  1. Directly close the git credential manager window.
  2. It will pop up git for windows window, ignore user name, click OK button to proceed.
  3. Enter Personal access token(PAT) which you can generate on website.

It will also automatically store the credentials in windows credential manager.

If the issue persists, you can verify that your environment is configured correctly by running git config --list and looking for credential.helper=manager. Try to uninstall and reinstall git for a check.

发布评论

评论列表(0)

  1. 暂无评论