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,551,940
Community Members
 
Community Events
184
Community Groups

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
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 16, 2021

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
AUG Leaders

Atlassian Community Events