You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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
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".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mr Enecco Jacobelli,
Thank you for your answer.
Now I can Push and Fetch from/to SourceTree to/from GitLab.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.