Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,369
Community Members
 
Community Events
176
Community Groups

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

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 Dec 04, 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

Atlassian Community Events