Created a script to sync all repos connected to the core
I noticed i keep forgetting to sync one or two repos causing the build script to fail. This script is design so that when i change a lot in the core i can sync all the repos.
This commit is contained in:
parent
3954cedea9
commit
5be43903f2
1 changed files with 29 additions and 0 deletions
29
bin/GitSync.bat
Normal file
29
bin/GitSync.bat
Normal file
|
@ -0,0 +1,29 @@
|
|||
rem set defaults:
|
||||
set "com=Auto"
|
||||
set "msg=-Sync"
|
||||
rem set parameters:
|
||||
IF NOT "a%1"=="a" (set "com=%1")
|
||||
IF NOT "a%2"=="a" (set "msg=%2")
|
||||
cd ..\
|
||||
git commit %com%%msg%
|
||||
git push
|
||||
cd ..\
|
||||
cd Assembly-Line
|
||||
git commit %com%%msg%
|
||||
git push
|
||||
cd ..\
|
||||
cd FarmTech
|
||||
git commit %com%%msg%
|
||||
git push
|
||||
cd ..\
|
||||
cd Fluid-Mechanics
|
||||
git commit %com%%msg%
|
||||
git push
|
||||
cd ..\
|
||||
cd GreaterProtection
|
||||
git commit %com%%msg%
|
||||
git push
|
||||
cd ..\
|
||||
cd GSM
|
||||
git commit %com%%msg%
|
||||
git push
|
Loading…
Add table
Reference in a new issue