Skip to content

Instantly share code, notes, and snippets.

@tadeubdev
Forked from johanmeiring/gist:3002458
Last active June 27, 2020 12:54
Show Gist options
  • Save tadeubdev/cb49a576cee6c07c79a43812e36ab539 to your computer and use it in GitHub Desktop.
Save tadeubdev/cb49a576cee6c07c79a43812e36ab539 to your computer and use it in GitHub Desktop.
"git lg" alias for pretty git log
# git log short
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"
# git status short
git config --global alias.st "status -s"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment