mannaggianastri/push-to-checkout

4 lines
78 B
Plaintext
Raw Normal View History

2024-06-14 17:58:07 +02:00
#!/bin/sh
# checks out the received ref on push
git read-tree -u -m HEAD "$1"