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,552,839
Community Members
 
Community Events
184
Community Groups

Cannot fetch or pull on Sourcetree for windows

When trying to fetch or pull from my remote in sourcetree, if comes up with the error:


git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch origin
remote: HTTP Basic: Access denied
fatal: Authentication failed for "[my remote]"

 

I don't know why it is doing this as I have the proper gitlab access and this hasn't been an issue previously. Under settings/authentication, it keeps asking me to authenticate my log in everytime I open this. I have tried re cloning my remote but it keeps coming up with authentication errors and the credential pop up does not appear

 

2 answers

I have the same problem ! :(

I have a solution now :

I got the help of this answer: https://community.atlassian.com/t5/Sourcetree-questions/How-to-update-HTTP-S-credentials-in-sourcetree/qaq-p/297564.

Me, I went into the windows file explorer, and noted in the search bar "Sourcetree", and chose the "Sourcetree" folder with this path "C: \ Users \ CS \ AppData \ Local \ Atlassian".

Like Deleted user likes this

Mr Enecco Jacobelli,

Thank you  for your answer.

Now I can Push and Fetch from/to SourceTree to/from GitLab.

I had the same problem. The suggested solution of removing the passwd file didn't work for me. But Sourcetree has a built-in solution:)

In the small menu bar at the top select => Tools => Options => Tab Authentication

There you can choose your gitlab account and "edit" it. The edit box offers an option to refresh Personal Access Token. This will give a Windows popup where you can enter the new PAT. And then be patient for about 20 seconds;)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events