Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,481
Community Members
 
Community Events
168
Community Groups

Cannot authenticate with visual studio project

Edited

I have put my local repo into source tree but when I try to do a pull to update my branches with what is on the remote repo, I get an authentication error and some key errors:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch origin
fatal: ArgumentException encountered.
   An item with the same key has already been added.fatal: ArgumentException encountered.
   An item with the same key has already been added.fatal: Authentication failed for 'https://myteamname.visualstudio.com/pathforthingy/'
Completed with errors, see above.

My account seems to be unable to link up to my Microsoft account, which has permissions to use this repo. 

1 answer

0 votes
minnsey Atlassian Team Nov 23, 2018

There is a bug in Git Credential Manager for Windows, GCMW, <1.18.3.

The GCMW is bundled with Git for Windows.

Best workaround for now is the install Git 1.19.1 https://git-scm.org and then install GCMW 1.18.3 https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.18.3, then in Sourcetree Tools/Options/Git tab select that Git install as a System Git

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events