mannaggianastri/push-to-checkout
2024-06-14 17:58:07 +02:00

4 lines
78 B
Bash

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