mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-20 10:21:37 +00:00
8 lines
146 B
PHP
8 lines
146 B
PHP
if ! cd {{ $path }}; then
|
|
echo 'VITO_SSH_ERROR' && exit 1
|
|
fi
|
|
|
|
if ! git checkout -f {{ $branch }}; then
|
|
echo 'VITO_SSH_ERROR' && exit 1
|
|
fi
|