Skip to content

Instantly share code, notes, and snippets.

@DuGites
Forked from metrofx/glog
Created Nov 17, 2018
Embed
What would you like to do?
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment