Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

cant connect to a azure devops git repo using PAT


Ok, I have been using git with github, bitbucket etc for years and never had an issue.

Today I tried the task of simply cloning a project from our orgs dev ops git repo in Azure.

I think I have tried everything, and cant figure it out.

On the mac source tree, if I do new->clone URL

It asks for source url, dest path and name.

For URL I enter:

It then fills out a default desination path and name, which I cant change as it pops up with a login window with username and password.

Meanwhile in the azure repo, I have created a PAT with full access to the repo.  The PAT is a long string.

I have tried the PAT for user name and password (as defined in the source tree docs), just for password, with my azure login details, with my azure user and the PAT as the password everything. No matter what I put, I get the error: 

"this is not a valid source path URL". Well it is!

If I try the same thing in windows, I get "failed to login for user [PAT]"

Our org has disabled "alternative credentials" so PAT is the only option.

Any suggestions?

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,154 views 5 13
Read article

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