Skip to content

Instantly share code, notes, and snippets.

@roloenusa
Last active February 23, 2018 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roloenusa/81b81bf859b9c87a0a076fae1e098700 to your computer and use it in GitHub Desktop.
Save roloenusa/81b81bf859b9c87a0a076fae1e098700 to your computer and use it in GitHub Desktop.
Git Aliases
git config --global alias.lol "log --graph --pretty=format:'%C(bold blue)%h%Creset %C(bold green)<%an>%Creset%Cgreen (%cr)%Creset%C(yellow)%d%Creset %s' --abbrev-commit --date=relative"
git config --global alias.lolme "log --graph --pretty=format:'%C(bold blue)%h%Creset %C(bold green)<%an>%Creset%Cgreen (%cr)%Creset%C(yellow)%d%Creset %s' --abbrev-commit --date=relative --author=$(git config user.email)"
git config --global alias.me "whatchanged --graph --pretty=format:'%C(bold blue)%h%Creset %C(bold green)<%an>%Creset%Cgreen (%cr)%Creset%C(yellow)%d%Creset %s' --abbrev-commit --date=relative --author=$(git config user.email)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment