Skip to content

Instantly share code, notes, and snippets.

@tgvaughan
Created July 19, 2018 09:25
Show Gist options
  • Save tgvaughan/b1b55693d76441a3833cd59f06f35aea to your computer and use it in GitHub Desktop.
Save tgvaughan/b1b55693d76441a3833cd59f06f35aea to your computer and use it in GitHub Desktop.
Some useful aliases for your .gitconfig
[alias]
l = log --graph --pretty=\"%C(auto)%h %C(green)%<(10,trunc)%an%C(auto)%d%Creset %s %C(magenta)(%ar)%Creset\"
la = log --graph --all --pretty=\"%C(auto)%h %C(green)%<(10,trunc)%an%C(auto)%d%Creset %s %C(magenta)(%ar)%Creset\"
dw = diff --patience --word-diff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment