Skip to content

Instantly share code, notes, and snippets.

@metrofx
Created February 12, 2014 07:56
Pretty git log, displays 20 last commits.
#!/bin/sh
git --no-pager log -n 20 --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
@marcin-kulik
Copy link

sweet, thank you

Sorry, something went wrong.

@heliopassarelli
Copy link

Rly sweet, ty guy

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