resonant-induction/bin/GitSync.bat
DarkGuardsman 5be43903f2 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.
2013-09-16 06:38:02 -04:00

29 lines
No EOL
438 B
Batchfile

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