Skip to content

Instantly share code, notes, and snippets.

@leodutra
Last active April 22, 2016 20:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leodutra/ad82f4d9e86083b5901f to your computer and use it in GitHub Desktop.
Save leodutra/ad82f4d9e86083b5901f to your computer and use it in GitHub Desktop.
Setup Git login, e-mail and password cache | sudo wget -q -O - https://gist.github.com/leodutra/ad82f4d9e86083b5901f/raw | sh -x -
#!/bin/sh
git config --global credential.helper 'cache --timeout=3600'
git config --global user.name "Leo Dutra"
git config --global user.email "leodutra.br@gmail.com"
echo 'git has been set for leodutra.br@gmail.com'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment