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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Posted in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,280 views 19 18
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you