Skip to content

Instantly share code, notes, and snippets.

@tiagoapimenta
Created August 23, 2018 16:25
Show Gist options
  • Save tiagoapimenta/99cccff3c6530a9f15e3faddd8f654ab to your computer and use it in GitHub Desktop.
Save tiagoapimenta/99cccff3c6530a9f15e3faddd8f654ab to your computer and use it in GitHub Desktop.
git config --global user.email 'EMAIL'
git config --global user.name 'NOME'
git config --global pull.ff only
git config --global merge.conflictstyle diff3
git config --global apply.whitespace nowarn
git config --global apply.ignorewhitespace true
git config --global gui.encoding utf-8
git config --global core.mergeoptions '-Xignore-space-change -Xrenormalize -Xdiff-algorithm=minimal'
git config --global core.quotepath false
git config --global color.ui true
git config --global fetch.prune true
git config --global core.autocrlf input
# para Windows:
git config --global log.date local
git config --global credential.helper 'wincred'
# para ignorar certificados https:
git config --global http.sslVerify false
# para Git 1.9 ou superior:
git config --global push.default simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment