added script to update current git working copy and submodules recursively
This commit is contained in:
Submodule ext/ise_library/curl updated: 19637b616b...f17f785ee3
9
tools/update_git_working_copy.bat
Normal file
9
tools/update_git_working_copy.bat
Normal file
@@ -0,0 +1,9 @@
|
||||
cd %~dp0..
|
||||
echo Pull changes from origin master
|
||||
call git pull origin master
|
||||
|
||||
echo Update all submodule recursively
|
||||
call git submodule update --recursive
|
||||
|
||||
echo Checkout master branch for each submodule recursively
|
||||
call git submodule foreach --recursive git checkout master
|
||||
11
tools/update_git_working_copy.sh
Normal file
11
tools/update_git_working_copy.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd ..
|
||||
echo Pull changes from origin master
|
||||
call git pull origin master
|
||||
|
||||
echo Update all submodule recursively
|
||||
call git submodule update --recursive
|
||||
|
||||
echo Checkout master branch for each submodule recursively
|
||||
call git submodule foreach --recursive git checkout master
|
||||
Reference in New Issue
Block a user