add push-to-checkout git hook
This commit is contained in:
parent
a55033ed26
commit
d26763504b
3
push-to-checkout
Normal file
3
push-to-checkout
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
# checks out the received ref on push
|
||||
git read-tree -u -m HEAD "$1"
|
Loading…
Reference in New Issue
Block a user