Last active
October 20, 2025 20:24
-
-
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 = israelsjm@gmail.com | |
| 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 | |
| acm = "!f() { PULL_TITLE=\"$1\"; PULL_BODY=\"$1\"; if [ $# -gt 1 ]; then PULL_BODY=\"${@:2}\"; fi; git add --all && git commit -S -m \"$PULL_TITLE\" && gh pr create --title \"$PULL_TITLE\" --body \"$PULL_BODY\" && gh pr merge --rebase --auto --delete-branch; }; f" | |
| 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 |
Author
Author
also need install credential-manager before
Author
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
Author
updated for use github cli, and create pr and merge auto
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
need create signingkey