mannaggianastri/push-to-checkout
2024-06-14 18:24:00 +02:00

4 lines
78 B
Bash
Executable File

#!/bin/sh
# checks out the received ref on push
git read-tree -u -m HEAD "$1"