vito/resources/commands/website/update-branch.sh
2023-08-04 18:28:04 +02: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