How can I make Sublime Text the default editor for Git?

I have a problem setting Sublime Text 2 as the core.editor with git. I’ve read through every post I could find addressing the problem, but still nothing is working for me. I am running Windows. I have done: git config –global core.editor “‘C:/Program Files/Sublime Text 2/sublime_text.exe'” and tried that with various arguments like -m. When … Read more

git: ‘credential-cache’ is not a git command

I followed these instructions to the letter, including the part about password caching. It seems like the instructions are wrong, because every time I git push origin master I get this error: git: ‘credential-cache’ is not a git command. See ‘get –help’. … at which point I am forced to enter my username and password. … Read more

How to know the git username and email saved during configuration?

While configuring git I ran these two commands: git config –global user.name “My Name” git config –global user.email “[email protected]” However, I doubt whether I made a typo or not. So, is there any command to know the name and email which git saved during configuration? Obviously, I can know that using the git log command … Read more

Is there a way to cache https credentials for pushing commits?

I recently switched to synchronizing my repositories to https:// on GitHub (due to firewall issues), and it asks for a password every time. Is there a way to cache the credentials, instead of authenticating every time that git push? 2 26 Since Git 1.7.9 (released 2012), there is a neat mechanism in Git to avoid … Read more