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:
DarkGuardsman 2013-09-16 06:38:02 -04:00
parent 3954cedea9
commit 5be43903f2

29
bin/GitSync.bat Normal file
View 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