Connect to TFS using TortoiseGit or msysgit?

I created a new empty TFS git project and tried to clone it in a new folder on my desktop using TortoiseGit and msysgit. It always fails saying "Authentication failed." I typed:

"git clone https://saratoga.visualstudio.com/DefaultCollection/_git/Git%20Test ."

When prompted for my name, I entered my Windows account email address (for example, bob@example.org ).

Then he asked my password for

" https: // test@saratoga.visualstudio.com "

I entered the password. However, I cannot connect to the tfs service, a message appears stating that authentication failed in the git turtle.

+7
source share
1 answer

Alternative authentication credentials in TFS provide a solution, use the following instructions:

  • Click your name in the upper right corner of the screen.
  • Click "My Profile."
  • Click the Credentials tab.
  • Set an alternate username that does not contain the @ symbol.

Now that you are connecting to a remote repo through TortoiseGit, you can use alternate credentials, and these new credentials should work.

+15
source

All Articles