summaryrefslogtreecommitdiff
path: root/tools/build_scripts/git_update.bat
blob: d32d190baeda62570f674124fb33e574fab46f88 (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 reset --hard

git checkout %1

git pull --rebase=true --progress -v

echo %date% %time% > timestamp.chk