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

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


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


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!


Cannot push to remote with valid app password usi...


Hi Theodora,

I think I have the same problem with SourceTree. Yesterday it was no problem to push something, the app password is correct, but SourceTree does not use for pushing how it looks like. Error message just shows use of for the https path to my repository. Somehow I cannot see where I can tell SourceTree to use the path with the username, because the path in the push dialog window shows it with username.

In the meantime I saw the hints about SourceTree. I updated the version of SourceTree to the latest one. SourceTree stores old password under C:\Users\MyUserName\AppData\Local\Atlassian\SourceTree in passwd file. So, I renamed it and on push SourceTree ask for a new one. This time I use my app password. If I just refresh my login credentials under the options, it does not have any effect on my stored password for pushs before. The old and saved password in passwd file must be removed to make push run again.

BR Detlev

1 answer

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 11, 2022

Hi @Detlev Petersen,

Just a heads up, I moved your post to a new question (it's best to create a new question if you'd like us to look into your issue, otherwise we will end up trying to troubleshoot multiple users' issues in one post, which will be hard to follow).

Based on the path you gave for the passwd file, I assume that you are using SourceTree for Windows (and not for Mac), is that correct?

Remote path

You can find the remote path for a repository if you:
1. Open the repository in SourceTree
2. Select Settings for this repository from the top right corner
3. In the new dialog that appears, in the tab Remotes, you can see the remote URL that SourceTree is using for the repo. If it doesn't include your Bitbucket username, you can select the remote, then select the button Edit and change the URL to include your username

Were you able to push after removing the passwd file? It is not very clear if the issue with authentication has been resolved or if you're still experiencing issues.

In case you're still experiencing issues, I would suggest checking the following:

1) The credential manager in Windows, as there may be stored credentials for If so, I would suggest removing them as they may be used from SourceTree.

2) Afterwards, in SourceTree, go to the menu Tools > Options > Authentication tab, remove your Bitbucket Cloud account and any Git saved passwords for, and then re-add your account.

If you add your account using HTTPS - Basic authentication, the app password will need to have at least Account:Read permissions for the account to be added. Repositories:Read and Repositories:Write permissions will also be needed for the app password, in order to pull and push to repos.

Kind regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events