Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jrwren
jrwren / gist:e049a8320e0d4ee320a3bbce33810216
Last active March 1, 2018 21:05
gource format a git log for only a given subtree of a git repo.
## gawk or mawk are required for awk. The BSD awk with macOS is NOT sufficient.
# brew install gawk gource ffmpeg
git log --reverse --name-status --format="%at|%an|" . | awk '/^1/ {h=$0} /^[AMD]/{print h$1"|"$2}' |\
gource --log-format custom -
# or with some nice options