Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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
echo 'foo'
ash@parangon:~/tmp$ git clone --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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.