Created
March 15, 2013 20:03
-
-
Save sansmischevia/5172716 to your computer and use it in GitHub Desktop.
@raydog's awesome post commit hook that takes a picture after every commit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
dest="$HOME/git-commit-snapshots/" | |
mkdir -p $dest | |
path=$dest/`date +%s`.jpg | |
imagesnap -w 1 -q $path & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment