vito/app/SSH/Git/scripts/checkout.sh
2024-03-24 09:56:34 +01:00

8 lines
140 B
Bash

if ! cd __path__; then
echo 'VITO_SSH_ERROR' && exit 1
fi
if ! git checkout -f __branch__; then
echo 'VITO_SSH_ERROR' && exit 1
fi