Skip to content

Instantly share code, notes, and snippets.

@mateusreis
Last active August 27, 2025 17:27
Show Gist options
  • Select an option

  • Save mateusreis/3041edcfd4fbd1997adac3a0f6b249de to your computer and use it in GitHub Desktop.

Select an option

Save mateusreis/3041edcfd4fbd1997adac3a0f6b249de to your computer and use it in GitHub Desktop.
Git setup - Debian 13 - 2025
$ 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