Skip to content

Instantly share code, notes, and snippets.

@alundiak
Last active January 27, 2017 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alundiak/76ff7b27a47c9745bc785ff0b9d7fba2 to your computer and use it in GitHub Desktop.
Save alundiak/76ff7b27a47c9745bc785ff0b9d7fba2 to your computer and use it in GitHub Desktop.
git config --get-all user.name #local repo git config file.
git config --global --get-all user.name #user config file.
git config --system --get-all user.name #system git config file.
git config --global user.name "Andrii Lundiak"
git config --global user.email "landike@gmail.com"
git config --global credential.helper store # if I'm lazy to type password always or setup SSH keys
git config --global push.default simple #
# https://git-scm.com/docs/gitattributes
git config --global core.autocrlf false
git config --global core.eol false
git config --global core.ignorecase true
git config --list --show-origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment