Unable to clone, fetch or push to a private repository in Github

Hi all,

I'm unable to do anything with my private repositories in GitHub. I'm can work with no porblems with public ones.

I'm able to see the repositories from Sourcetree but if I try to clone a prvate one says error in login. This is happening only with private ones.

I have similar scenario trying to push to github. With Public is working fine but with private I have the same authentication error.

I'm running version 2.3.5.0

Does anyone what the problem can be?

1 answer

0 votes

Hi Ramon, can you confirm you've followed the steps at Connect your Github account already?

Was it previously working for you, or is this the first time you're setting this up?

 

Can you send us a screenshot of the error you get?

Best regards,

Ana

I've been working with problems, and suddenly it stopped working after the update.

I tried many different things, even setup 2 way Auth.

The problem is solved now after following a suggestion in the questions about turning Git to system one and back again to embedded one. After this, everything began to work again.

Thanks. 

I switched in preferences between the built in git and the OS git, and back again to no avail. For me everything works including push from a terminal command line, and everything except push works from within SourceTree. It had previously worked. I am using 2FA.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

977 views 2 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you