mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
12 lines
296 B
Batchfile
12 lines
296 B
Batchfile
for /f "delims=" %%i in ('git rev-parse --abbrev-ref HEAD') do set BRANCH=%%i
|
|
|
|
if not exist client git clone -b %BRANCH% https://github.com/uroni/urbackup_frontend_wx client
|
|
|
|
cd client
|
|
|
|
git fetch
|
|
git checkout -b %BRANCH% origin/%BRANCH%
|
|
git checkout %BRANCH%
|
|
git reset --hard
|
|
git pull
|