diff options
Diffstat (limited to 'tools/build_scripts/git_update.bat')
-rw-r--r-- | tools/build_scripts/git_update.bat | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/build_scripts/git_update.bat b/tools/build_scripts/git_update.bat index 5d121ead94..e0292027fd 100644 --- a/tools/build_scripts/git_update.bat +++ b/tools/build_scripts/git_update.bat @@ -1,3 +1,10 @@ +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 |