Created
October 10, 2023 08:58
-
-
Save israelcena/dc99804845f959342c0b1299db6efe77 to your computer and use it in GitHub Desktop.
git config file
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
[user] | |
name = israelcena | |
email = [email protected] | |
signingkey = | |
[commit] | |
gpgsign = true | |
[init] | |
defaultBranch = main | |
[core] | |
editor = code --wait | |
[alias] | |
s = !git status -s | |
c = !git commit -S -m | |
ac = !git add --all && git commit -S -m | |
acp = !git add --all && git commit -S -m && git push | |
l = !git log --graph --pretty=format:'%C(auto)%h %C(bold yellow)%d%Creset%C(white)%s%Creset - %C(cyan)%cn%Creset, %C(green)%cr' | |
[credential] | |
helper = /mnt/c/Program\\ Files/Git/mingw64/bin/git-credential-manager.exe |
comando: git config --global user.name “nomedousuario”
obs: se der tudo certo o console não amostrará nada.
configurando o email
comando: git config --global user.email “emaildousuario”
para exibir o nome do usuário
comando: git config user.name
para exibir todas as configurações
comando : git config --list
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
also need install credential-manager before