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

Don't prompt for username and password

Every time I launch Sourcetree, it prompts me for my Github credentials. I only use Sourcetree for local operations (stage, branch and commit). How can I disable Github from constantly nagging me for my username and password?

2 answers

1 accepted

0 votes
Answer accepted

Rolling back to version 2.7 resolves this.

0 votes
Mike Corsaro Atlassian Team Jan 03, 2019

Under "Accounts" in settings you'll probably see a github account. You can try removing that and seeing if that fixes it.


What version of Sourcetree are you using?

I've seen this behavior in version 2.7.4 and 3.0.

Under Preferences - Accounts there are no accounts. It still prompts me for a username/password. The exact prompt is (URL edited out):



My .git/config's [remote "origin"] points to a github URL.


Edit: 2.7 does not prompt for Github credentials, 2.7.4 does.

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,219 views 5 14
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