Skip to content

Instantly share code, notes, and snippets.

@yonzin
Created February 10, 2021 16:22
Show Gist options
  • Save yonzin/f58dbbf7d31fa949e07b0a5ec66d39ec to your computer and use it in GitHub Desktop.
Save yonzin/f58dbbf7d31fa949e07b0a5ec66d39ec to your computer and use it in GitHub Desktop.
useful git aliases
## useful git aliases
git config --global alias.st 'status -sb'
git config --global alias.ll 'log --oneline'
git config --global alias.last 'log -1 HEAD --stat'
git config --global alias.cm 'commit -m'
git config --global alias.rv 'remote -v'
git config --global alias.d 'diff'
git config --global alias.gl 'config --global -l'
git config --global alias.br 'branch'
## Autocorrect your aliases
git config --global help.autocorrect 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment