1
votes

I'm using git on a win7 machine with cygwin installed (git version 1.7.9, not using cygwin bash but with cygwin/bin in the windows PATH variable and using the normal windows command shell) and in order to not have to type my credentials every other git command, I figured I'd use the credential helper,

git config --global credential.helper cache

however, after issuing this command and doing a git fetch from my git: repository, which prompts me for my password, any subsequent command that requires credentials still asks me for my password instead of using the cached values through the credential helper.

Would anyone know how to make cygwin's git in windows 7 properly cache credentials? (All questions I could find on SO about this were for msys setups).

1

1 Answers

0
votes

This feature uses unix domain socket for communication so it does not work on Windows native Git at all. You can check out this project as a substitution: http://gitcredentialstore.codeplex.com/

UPD I thought (for some reason) you are using native Windows Git with cygwin installed alongside. If you are using cygwin's git it's strange that nothing work. I leave an answer here, maybe it'll help somebody.