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

I am unable to perform git functions from Sourcetree to AzureDevops (PAT issue). Edited

I am unable to perform git functions to AzureDevops as my Personal Access Token has expired.

When I generate a new PAT and add it to my account, it still does not let me perform git functions. 

This is error I get: 

git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream origin refs/heads/feature/new_chat_button_issue:refs/heads/feature/new_chat_button_issue

Pushing to https://cchmc-dev.visualstudio.com/DefaultCollection/Caren/_git/org.cchmc.caren.mobile

fatal: Authentication failed for 'https://cchmc-dev.visualstudio.com/DefaultCollection/Caren/_git/org.cchmc.caren.mobile/'

Pushing to https://cchmc-dev.visualstudio.com/DefaultCollection/Caren/_git/org.cchmc.caren.mobile

fatal: Authentication failed for 'https://cchmc-dev.visualstudio.com/DefaultCollection/Caren/_git/org.cchmc.caren.mobile/'

Pushing to https://cchmc-dev.visualstudio.com/DefaultCollection/Caren/_git/org.cchmc.caren.mobile

fatal: Authentication failed for 'https://cchmc-dev.visualstudio.com/DefaultCollection/Caren/_git/org.cchmc.caren.mobile/'

Completed with errors, see abovePushing to https://cchmc-dev.visualstudio.com/DefaultCollection/Caren/_git/org.cchmc.caren.mobile

fatal: Authentication failed for 'https://cchmc-dev.visualstudio.com/DefaultCollection/Caren/_git/org.cchmc.caren.mobile/'

Completed with errors, see above

2 answers

1 accepted

0 votes
Answer accepted

I found that along with updating the account in Sourcetree, you also have to go into Visual Studio => Version Control => Manage Remotes and Branches. You can then reconnect your remote with AzureDevops via your microsoft login. 

0 votes

Could you explain what this has to do with Atlassian?

I can generate the new PAT in AzureDevops, but when I add to my account in sourcetree, it does not seem to work.  Sourcetree was functioning correctly until my PAT expired. It seems that there are steps I am not performing correctly in Sourcetree to update my account. Please help. 

I am running Sourcetree on Mac version 4.0.2(236).

I have also tried to add a new account with the new PAT, but with no success. 

Thank you. 

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,713 views 19 19
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