Skip to content

Instantly share code, notes, and snippets.

@fwielstra fwielstra/aliases
Created Aug 16, 2016

Embed
What would you like to do?
git list shizzle
# log format base
lformat = log --pretty=format:'%Cred%h%Creset %C(bold blue)%an%Creset %Cgreen(%cr) %Creset-%C(yellow)%d%Creset %s'
# formatted, graph, branches
l = !git lformat --graph --branches
# formatted, graph current branch only
lb = !git lformat --graph
# formatted, topo-order (?)
lt = !git lformat --graph --branches --topo-order
# formatted, no pager (use with -n to show last X entries)
lnp = !git --no-pager l
# show last 5, 10, 25 logs with graph, without pager.
ll = !git lnp -n5
lll = !git lnp -n10
llll = !git lnp -n25
llb = !git --no-pager lb -n5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.