Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,559,013
Community Members
 
Community Events
184
Community Groups

Cannot clone a Git Repo using SourceTree and Azure DevOps

Edited

I am using the latest version of SourceTree and Git for Windows.

 

I can successfully add my Azure DevOps account to SourceTree using a personal access token and navigate all of the repos hosted remotely. When pick one to clone ... i run into the same issue time and time ago. Even if I clone it directly without using a VSTS account:

ERROR:

Command: perl.exe C:\Users\{me}\AppData\Local\SourceTree\app-3.0.8\tools\svn.pl info https://work.visualstudio.com/work%20work/_git/PureApi
Output:
Error: System.ComponentModel.Win32Exception: The system cannot find the file specified

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://work.visualstudio.com/work%work/_git/PureApi
Output:
Error: 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://work.visualstudio.com/wprk%20work/_git/PureApi/'

 

Other

I can clone a repo as normal using GitBash but then when I add the local repo to SourceTree it run into the same issues when I try do a fetch.

1 answer

Reverted back to Git for Windows version 2.17.1.2 and this did the trick.


The issues lies with the Git Credentials Manager.

For my case also I am getting the similar error:

My Azure Repo account has been added successfully in Sourcetree using PAT.

Still below message is displayed when trying to clone.

 

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://ABCDaaS@dev.azure.com/ABCDaaS/CompOne/_git/PXXXX-AutomationFramework
Output:
Error: fatal: unable to access 'https://dev.azure.com/ABCDaaS/CompOne/_git/PXXXX-AutomationFramework/': Failed to connect to dev.azure.com port 443: Timed out

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events