Skip to content

Instantly share code, notes, and snippets.

@aalmeida00
Last active February 28, 2024 22:07
Show Gist options
  • Save aalmeida00/b87181f76785b2413d06e56dc6c499db to your computer and use it in GitHub Desktop.
Save aalmeida00/b87181f76785b2413d06e56dc6c499db to your computer and use it in GitHub Desktop.
Git aliases to use daily
  1. Git log

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"

  1. Git last branch

wip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment