Skip to content

Instantly share code, notes, and snippets.

@sumanthkumarc
Last active November 15, 2016 06:22
Show Gist options
  • Save sumanthkumarc/cd4148c2fdc85a12d901679f523ecfde to your computer and use it in GitHub Desktop.
Save sumanthkumarc/cd4148c2fdc85a12d901679f523ecfde to your computer and use it in GitHub Desktop.
git credentials store
sudo apt-get install libgnome-keyring-dev
cd /usr/share/doc/git/contrib/credential/gnome-keyring
sudo make
git config --global credential.helper /usr/share/doc/git/contrib/credential/gnome-keyring/git-credential-gnome-keyring
to store in cache:
#18000 = 5 hrs
git config --global credential.helper "cache --timeout=18000"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment