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
Community Members
Community Events
Community Groups

SourceTree GUI can't push, terminal can push


I am having troubling configuring SourceTree.  I have repo already on the harddrive.  I installed git and SourceTree.  I made some changes in the repo.  I tried pushing the changes to the repo using SourceTree but it gives this error.   Git push from the command line works just fine.   

In Options - Authentication, I have my account set as ssh.  I have putty loaded and my certificate loaded in putty. 

Not sure what to do or what the problem is....






I did have a passwd file in AppData\Local\Atlassian\SourceTree.  I deleted it.  When I pushed my change it prompted for a password which I cancelled and push failed.  Slightly different error.

gitproblem deleted pwd file.png



2 answers

Mr Matthew,

Read properly. I'm not stupid. I'm not asking you to delete your windows system files. That obviously isn't the answer. There's such a thing called sourcetree system files. Your reply shows you know nothing about it. (If you knew or made the effort to google it out, you would have already done it.) Do the following.

Uninstall sourcetree (as stated earlier.)

i) Navigate to C://Users/<UserName>/appdata/local, now delete sourcetree folders.

II) Navigate to C://Users/<UserName>/appdata/atlassian, Now delete all source tree files and folders

Then reinstall sourcetree. Remember to use token authentication instead of password. Check if this works. There's some unknown problems in sourcetree. Many others are complaining about it.

I think you are having similar problems like me as you are using the old password method to github. Password method no longer works. Use these steps and it should work.

1 - google out the location of your system files. From your path, i think you are also using windows. I won't know which ie. win 7, 8, 10 etc.

2 - uninstall, then go to these location, delete the system files completely.

3 - Restart of computer not required. Go to this link This should solve your problem. It did solve mine.

Tell me if this doesn't work. I believe git for sourcetree might not be working as the configuration is just no longer there.

I do not understand what you mean system files.  Im not deleting \windows or any of its subdirectories :D

However, the personal access token did work.

You can google out system files. I'm sure the internet can give a good explanation.

So now is everything working properly? Are you still getting any error messages?

I'm sorry.  That is not an acceptable answer.   System files means files installed by windows during OS installation.  If you are implying those files are to be deleted, you are wrong.  I may have had some issues with SourceTree but I am not that stupid to believe deleting system files is the solution.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

60,473 views 127 26
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you