Slackware

Slackware
A true linux-distro

Sunday, November 17, 2013

Post 24: Passwordless Git HTTPS

I have been using BitBucket for a while now and I thought I'd post about making git activities password-less. It is a waste of time having to type your password each time you want to do something.


1. cd into the repository directory on your Linux system.
2. Enter the following commands:
    
git config --global credential.helper cache
git config --global credential.helper "cache --timeout=3600000"
  
The first time you try to do a git -related activity, you will be prompted for a password. After that, never again.