Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can't push via Sourcetree to Remote

Kegan Huntley December 1, 2021

I'm getting this error below when I try to push my commit, and I don't know why.

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master
fatal: credential-cache unavailable; no unix socket support
fatal: credential-cache unavailable; no unix socket support
remote: Invalid username or password
fatal: Authentication failed for '****************************************'
Pushing to https://bitbucket.org/***************.git
Completed with errors, see above.

 

I signed back in and out of my bitbucket account multiple times and changes to OathA authentication and nothing seems to be working.

2 answers

1 accepted

4 votes
Answer accepted
Kegan Huntley December 2, 2021

I found a solution on my own. 

I went to Users -> You -> AppData -> Local -> Atlassian -> SourceTree and deleted passwrd.

Then I pulled the latest commit, hit refresh, and entered in my password. It fixed it entirely.

Rekha Ingulkar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 1, 2023

Thanks @Kegan Huntley  it worked perfectly for me !!

Amir
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 20, 2023

thanks! 

1 vote
Jesse Rond August 8, 2023

I wasn't having any luck with the previous solutions.  What finally fixed it for me was going to Tools -> Options -> Git, and then clicking the "Update Embedded."  Also, I heard that if that didn't work, clicking the "System" button (which switches you from SourceTree's embedded Git over to a System Git) may work as well.

image.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events