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

Cannot change username of github repository on Souretree when trying to push a commit

I accidentally put the wrong username for the github host account linked to my sourcetree and I cannot reset the username... I am only given the option of reinputting a password but not a new username. I have reset my cached passwords and have even added the actual username (Sourcetree > Settings on the top right > Remotes > Double Click on Repository > Add username). I still get the incorrect username to populate when I try to push the commit. 

1 answer

0 votes
minnsey Atlassian Team Apr 30, 2019


If you are having errors pushing then it is an issue with your GitHub account and you probably want to open Tools/Options/Authentication tab and edit or delete and recreate your GH credentials their.

If it is about the author information used in your commits, then you want to reset that information in Tools/Options/General tab

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,104 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