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

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!

By Phil Steffek

Phil Steffek is a professional sumo wrestler who is hoping to represent the U.S. in the next Olympics. During the off season Phil is a Data Architect working on transactional databases, data warehouse implementations, and all aspects of business intelligence. Also, Phil is not really a sumo wrestler. You can get to know a bit more about my non-sumo doings by checking out my LinkedIn Page

Leave a comment

Your email address will not be published. Required fields are marked *