Cygwin and Git – Tired of typing your password? Cache it!

Free copy of SQL Best Practices?

Get your copy of SQL Best Practices and be the database developer that has rocket fuel in his veins.
Even better? These Best Practices are written in an easy to understand format so your whole team will quickly want to adopt them.
Get SQL Best Practices

I'm a git and cygwin noob. Despite that I like using the command line. It's a bit of mental gymnastics and keeps the mundane from getting mundane. One thing that irritated me though was having to constantly retype my password when pushing or pulling from remote.

Through dumb luck I stumbled across the secret config that cache's your password for fifteen minutes. Yes!

git config --global credential.helper cache

That's it! You are now awesome!

Tags: , ,

No comments yet.

Leave a Reply