Skip to content

Instantly share code, notes, and snippets.

@lboullo0
Forked from ChuckJHardy/gource.md
Created August 12, 2022 00:22
Show Gist options
  • Save lboullo0/01a6b4944f82a724093999433a333da6 to your computer and use it in GitHub Desktop.
Save lboullo0/01a6b4944f82a724093999433a333da6 to your computer and use it in GitHub Desktop.
Gource Recording for Git

Install Gource

brew install gource

Convert Quicktime Movie to Animated Gif

ffmpeg -i in.mov -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > out.gif

Record Gource

$ git log --pretty=format:user:%aN%n%at --reverse --raw --encoding=UTF-8 --no-renames --after={1.years.ago} > git.log
$ gource -s .001 -f 1920x1080 —auto-skip-seconds .001 —multi-sampling —stop-at-end —hide mouse,progress,files,tree,filenames,dirnames —file-idle-time 15 —max-files 0 —output-framerate 30 —output-ppm-stream - --seconds-per-day 1 git.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment