Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Changing password and login


I'm new to sourcetree and programming as a whole. I was trying to push to a branch on my github via sourcetree and I entered wrong password or login. 

Pushing to

remote: Invalid username or password.

fatal: Authentication failed for ''

Completed with errors, see above

I tried to push again but it doesn't ask for password anymore, just gives me this completed with errors report...

Now I can't find where to change the password.... 


Please help. I'm on Mac

1 answer

0 votes
bgannin Atlassian Team Dec 10, 2018

Hi Xenia,

The easiest way to resolve this would be to delete the account (Preferences -> Accounts) and re-add it. That should store the appropriate password and prompt you if necessary. 

Brian Ganninger
Senior Mac Developer, Sourcetree

Suggest an answer

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,021 views 5 13
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