How can I cache my git passwords with Cmder?
-
This command does not work!
git config --global credential.helper 'cache --timeout=2628000'
I get this error:
git credential-'cache erase: -c: line 0: unexpected EOF while looking for matching `''
git credential-'cache erase: -c: line 1: syntax error: unexpected end of fileTried googling around but yeah, no luck. Can anyone help?
-
@cristo : Why don't you use SSH Key so you don't need to use Password?
-
I just haven't achieved that level of ninja yet... And besides I am able to get the passwords cached on my production server, it would just make it a tiny bit easier to do the same with laragon
-
I've tested your command
git config --global credential.helper 'cache --timeout=2628000'
It works well for me (tested with Laragon 2.1.4 and 2.2.2)
Image:
-
You'll see if you try to pull or push it'll break
-
With the testing, I tried to clone a private project (from GitLab) and it worked.
-
Cloning, pulling and pushing don't work for me.
I get this error:
Also running laragon 2.2.2, tested on two different machines running Windows 10
-
I can not see your image, please re-upload
-
Here's what worked for me:
git config --global credential.helper wincred
Based on this answer from stack overflow:
http://stackoverflow.com/questions/11693074/git-credential-cache-is-not-a-git-command