USE AT YOUR OWN RISK! USE ONLY ON A LOCAL COPY OF A GIT REPOSITORY YOU ARE READY TO ABANDON!
A python script that produces a gif of the evolution of an image whos changes have been tracked by git.
Checks out every commit of a local git repository, saves a specific image file at that commit and strings them
together in an animated .gif file
- Clone a git repository (don't use this on a repo you're working on. No guarantees for any harm done!)
- Set the variable "file_relpath" below to the relative path & filename of the figure in the repo you want
- Run this script within the main directory of the repository
- A subdirectory "gitgif" will be created in the parent directory containing all versions of this figure
- If everything works, an animated gif file "git.gif" will be created in the "gitgif" directory
Example gif created with gitgif:
