Have just upgraded to SourceTree 2.4.8 because GitHub support suggested this but still unable to connect to my repository to do a Push.
GitHub login comes up but whatever I try in terms of configuring SourceTree to use the access token I've generated for GitHub I get auth failure, and even though the Refresh Auth Token from SorceTree shows as success?
same here on my mac...
I updated sourcetree yesterday and i can not push to github anymore. the dialog is comming up with his command to push but nothing happens (it hangs and has no further output). i can push from command line. I try to follow all advices here but nothing works... but sourcetree refreshes after i have pushed on cmd line...
any further hints?
Hello! Could you provide more details about where the error appears? If you're using an access token from GitHub, then you should be using that as a replacement for your password and won't need to add the remote account.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If that doesn't work, try adding the GitHub account with OAuth:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your prompt answer Mike. I've been getting feedback from GitHub support on this. The frustrating thing is that I can do a push fine from command line using my GitHub credentials but cannot using latest version of SourceTree!
GitHub support tell me that they have done some work on TSL and SSH recently and they comment:
>>The HTTPS request error you're seeing there is related to our recent TLS deprecation. Could you try connecting via SSH in SourceTree? If that doesn't help, I recommend you reach out to SourceTree's support team about how to use their tool with TLSv1.2.
And:
SourceTree comes with an older version of the Git Credential Manager for Windows built in. This is one of the known incompatibilities:
https://githubengineering.com/crypto-removal-notice/#known-incompatible-clients
It's not possible to directly upgrade the version that SourceTree uses, though you may be able to find a workaround in their forums.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, got it. To help fix this:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK thanks again for your help Mike.
I tried this but still not able to push through SourceTree - a GitHub Login modal appears when I try to Push and when I enter credentials I get the same error as before - see attached screen shot.
I can still do the push OK from cmd line after doing the commit in SourceTree. Again the GitHub modal opens and I enter the same creds - username and latest and latest generated auth token - and it works fine. SourceTree then take a while to catch up and realize that the push has gone through.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello! Sorry for the misleading answers -- it turns out this is caused by a TLS change on Github's side so the Git Credential Manager no longer works with Github unless you're using the version released last month.
To fix this:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK Mike:
YES I've already done these two things. Should I uncheck for:
Additionally, in Tools > Options > Network
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, so now you'll want to make use you hit the "Use System Git" button, and then under "Network" enable TLS 1.1 and 1.2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.