Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can no longer push with sourcetree (win) v2.6.10.0

Darth Vogel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 30, 2018

Up until the last few weeks I cannot push with sourcetree and have had to rely on intellij to push stuff up to my git master is get this:

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master
fatal: HttpRequestException encountered.
An error occurred while sending the request.

git: 'credential-cache' is not a git command. See 'git --help'.
git: 'credential-cache' is not a git command. See 'git --help'.
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/xxxxxxx/yyyyyyyy.git/'

Pushing to https://github.com/xxxxxxx/yyyyyyyy.git
Completed with errors, see above.

 

I have searched for a solution and see things about the credential-cache, but those forum entries were made back in 2012 and I figure whatever they say is no longer relevant and in 2018 the issue would be different.  I recently updated to the current version of sourcetree and it is around then that this happened.  Is there some config that needs to be changed?  The push works fine when i do it from intellij so i know my credentials work and I know that my version of git is good.  Pulls seem to work, which is confusing, my repo is private so i would expect to need the credentials to work for that as well

Thanks for any assistance you can provide.

1 answer

0 votes
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 4, 2018

Hi

Sourcetree for Windows and Git rely on the Git Credential Manager for Windows, GCMW, to handle authentication. Unfortunately there have been a series of issues with the GCMW over recent months. These seem to be resolved in v1.18.3 that is bundled with Git for Windows 2.19.2. You can install it and then use the Tools/Options/Git System Git option to pick it up.

This will also ensure you are TLS 1.2 compliant, see https://community.atlassian.com/t5/Sourcetree-questions/Unable-to-authenticate-on-Windows-using-username-password/qaq-p/954836#M26404 for more information

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events