Setting up some git hooks
This commit is contained in:
parent
5e79c185f5
commit
21da1ea002
5 changed files with 16 additions and 3 deletions
5
git/hooks/post-commit
Executable file
5
git/hooks/post-commit
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue