Skip to content

Instantly share code, notes, and snippets.

@makitocode
Last active January 9, 2019 21:48
Show Gist options
  • Save makitocode/1db986018cfa1a31f1ca8674aa9c84b5 to your computer and use it in GitHub Desktop.
Save makitocode/1db986018cfa1a31f1ca8674aa9c84b5 to your computer and use it in GitHub Desktop.
Setup git configuration
/*
LOCAL
*/
//Setup email
$ git config user.email "miguel@exmaple.io"
//Setup name
$ git config user.name "Miguel Angel González"
//Setup username
$ git config user.username "m4kito"
//Setup git colors
$ git config color.ui true
/*
See Config
*/
$ git config -l
/*
GLOBAL
*/
//Setup email
$ git config --global user.email "miguel@exmaple.io"
//Setup name
$ git config --global user.name "Miguel Angel González"
//Setup username
$ git config --global user.username "m4kito"
//Setup git colors
$ git config --global color.ui true
/*
See Config
*/
$ git config --global -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment