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

Unable to push/pull with Sourcetree

Tobias Blomberg September 28, 2022

Hi,

I work with Sourcetree to do access and update repositories in Bitbucket. I usually dont have any problems pushing or pulling changes but now I suddenly get the error message saing authentication failed: 

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin support-1:support-1
remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.
remote: See our community post for more details: https://atlassian.community/t5/x/x/ba-p/1948231
remote: App passwords are recommended for most use cases and can be created in your Personal settings:
remote: https://bitbucket.org/account/settings/app-passwords/
fatal: Authentication failed for 'https://bitbucket.org/rivta-domains/riv.clinicalprocess.healthcond.basic.git/'

 I have tried reseting my app password and followed the instructions here https://community.atlassian.com/t5/Sourcetree-articles/Bug-Fix-Sourcetree-for-Windows-authentication-error-when/ba-p/1965968 without any luck. I have also re-installed Sourcetree but nothing seems to work. Other people I work along side with have the same issue trying to work in our repositories.

1 answer

0 votes
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 28, 2022
Tobias Blomberg September 28, 2022

Yes, I did. And it has worked fine with the app password until now.

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 29, 2022

Did you create a password on bitbucket?

Tobias Blomberg September 29, 2022

Yes.

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 29, 2022

And did you also do this?

Go to c:\users\<your user ID>\AppData\Local\Atlassian\Sourcetree and rename/delete the passwd file (after Steps 1-6).

Tobias Blomberg September 29, 2022

Yes, I did!

Suggest an answer

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

Atlassian Community Events