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
1 Answer
Reset to default 2Where 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:
- Directly close the git credential manager window.
- It will pop up
git for windows
window, ignore user name, click OK button to proceed. - 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.