Last active
March 11, 2023 14:54
-
-
Save marciofmjr/1f24e4982154601c5e296d9bb3333aba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config | |
# Para configurar local (para cada projeto) | |
git config --local | |
# Para configurar de forma geral para todos os projetos | |
git config --global | |
# Configurar nome de usuário | |
git config --global user.name "Marcio Junior" | |
# Configurar email de usuário | |
git config --global user.email "[email protected]" | |
# Configurar editor que será usado pelo quando necessário | |
git config --global core.editor "vim" | |
# Para ver as configurações é só executar o comando sem a atribuição de um valor, exemplo: | |
git config user.name | |
git config user.email |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment