Last active
August 27, 2025 17:27
-
-
Save mateusreis/3041edcfd4fbd1997adac3a0f6b249de to your computer and use it in GitHub Desktop.
Git setup - Debian 13 - 2025
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 --global alias.co checkout && git config --global alias.br branch && git config --global alias.ci commit && git config --global alias.st status && git config --global alias.last 'log -1 HEAD' && git config --global alias.visual '!gitk' && git config --global user.name "mateus" && git config --global user.email <<<USER@EMAIL>>> | |
| ou | |
| $ git config --global --edit | |
| [alias] | |
| co = checkout | |
| br = branch | |
| ci = commit | |
| st = status | |
| last = log -1 HEAD | |
| visual = !gitk | |
| [user] | |
| name = mateus | |
| email = <<<USER@EMAIL>>> | |
| $ git config --list --global | |
| ou ainda, manual: | |
| $ git config --global alias.co checkout | |
| $ git config --global alias.br branch | |
| $ git config --global alias.ci commit | |
| $ git config --global alias.st status | |
| $ git config --global alias.last 'log -1 HEAD' | |
| $ git config --global alias.visual '!gitk' | |
| $ git config --global user.name "mateus" | |
| $ git config --global user.email <<<USER@EMAIL>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment