public
Created

  • Download Gist
gistfile1
1 2 3 4 5 6 7 8 9 10 11 12
ash@parangon:~/tmp$ ls -la template/hooks/post-checkout
-rwxr-xr-x 1 ash ash 21 2010-01-26 19:28 template/hooks/post-checkout
ash@parangon:~/tmp$ cat template/hooks/post-checkout
#!/bin/sh
echo 'foo'
ash@parangon:~/tmp$ git clone git@gamma.riskle.com:hooks.git --template=template/
Initialized empty Git repository in /home/ash/tmp/hooks/.git/
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (3/3), done.
ash@parangon:~/tmp$ cd hooks/ && git checkout
foo

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.