summaryrefslogtreecommitdiff
path: root/tools/build_scripts/git_update.bat
blob: e0292027fdf1fc5175814ba654b9381c8693819c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
if "%1" == "" (
   echo Branch should be specified in the first parameter
   exit 1
)

git checkout %1

git reset --hard

git pull --rebase=true --progress -v 2>&1 > update.log

echo %date% %time% > timestamp.chk