vito/system/commands/common/update-branch.sh
Saeed Vaziry 5c72f12490 init
2023-07-02 12:47:50 +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