Setting up some git hooks

This commit is contained in:
Josh Sherman 2012-07-21 15:14:29 -04:00
parent 5e79c185f5
commit 21da1ea002
5 changed files with 16 additions and 3 deletions

5
git/hooks/post-commit Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env ruby
file="~/.gitshots/#{Time.now.to_i}.jpg"
puts "Say Cheese!!~! ;)"
system "imagesnap -q #{file}"
exit 0