electrodynamics/bin/GitSync.bat

30 lines
585 B
Batchfile
Raw Normal View History

rem set defaults:
2013-09-18 12:56:27 +02:00
set "com=Auto-Sync"
rem set parameters:
IF NOT "a%1"=="a" (set "com=%1")
2013-09-20 11:39:24 +02:00
cd ..\
2013-09-18 12:56:27 +02:00
git commit -am "%com%"
git submodule foreach git pull origin master
2013-09-16 13:34:18 +02:00
git push origin master
cd ..\
cd Assembly-Line
2013-09-18 12:56:27 +02:00
git commit -am "%com%"
2013-09-16 13:34:18 +02:00
git push origin master
cd ..\
cd FarmTech
2013-09-18 12:56:27 +02:00
git commit -am "%com%"
2013-09-16 13:34:18 +02:00
git push origin master
cd ..\
cd Fluid-Mechanics
2013-09-18 12:56:27 +02:00
git commit -am "%com%"
2013-09-16 13:34:18 +02:00
git push origin master
cd ..\
cd GreaterProtection
2013-09-18 12:56:27 +02:00
git commit -am "%com%"
2013-09-16 13:34:18 +02:00
git push origin master
cd ..\
2013-12-04 13:46:12 +01:00
cd Empire-Engine
git submodule foreach git pull origin master
2013-09-18 12:56:27 +02:00
git commit -am "%com%"
2013-09-16 13:34:18 +02:00
git push origin master