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

Sourcetree (v 3.1.1) not allowing me to pull from github with two-factor auth enabled on github

I've been using my password for github just fine on Sourcetree without 2FA, but Sourcetree has stopped being able to pull from github when I enabled 2FA on github. Sourcetree asks me to enter in my password to github when fetching from my repo, but it doesn't work when I enter it.


I've tried using the latest embedded git (2.20.1), and the latest system git (2.20.1); both failed to resolve the issue.


I'm not the owner/admin of the github repo I'm working on.


I'm currently on macOS Mojave (10.14.3)

1 answer

0 votes
bgannin Atlassian Team Mar 05, 2019

Hi @Jeffrey Ha,

Could you try deleting and re-adding your GitHub account (not the repository) in Sourcetree, choosing OAuth for authentication, to see if that works properly for you after that?


Brian Ganninger
Principal 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,035 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