Any action in source tree 2.6.10 on Windows 10 is giving me the errors listed below.
It used to work fine with Bitbucket and VSTS, but it started to give this error, and action is completed, but now it is totally unworkable:
The following output is from Sourcetree's Fetch All action
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: 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.
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch vsts
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: 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://xxxxxxx.visualstudio.com/DefaultCollection/xxxxxxx/_git/yyyyyyy/'
Completed with errors, see above.
I have replaced the name of the project and name of repository with xxxxx and yyyyy
I have done all the known tricks such as Upgrading GIT to the latest, enabling GIT Credential Manager, use Windows 10 Credential Manager to delete the existing credentials. Uninstall Sourcetree and delete the Atlassian and Sourcetree folders … all the known tricks, still getting same errors
I have tried to use the native GIT GUI 2.19.1 and managed to FETCH, PULL and PUSH on the repositories successfully. I have tried different repositories successfully.
The issue is related to Sourcetree and not to GIT or GIT Credential manager.