Jpom/script/push.bat

45 lines
663 B
Batchfile
Raw Normal View History

2019-04-14 16:22:05 +08:00
@REM Jpom<6F><6D><EFBFBD><EFBFBD>֧<EFBFBD><D6A7><EFBFBD><EFBFBD>Զ<EFBFBD>˺ϲ<CBBA><CFB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2019-03-13 17:59:04 +08:00
2019-02-21 13:54:25 +08:00
@echo off
cd ../
2019-04-14 16:22:05 +08:00
echo <20><>ȡԶ<C8A1>̷<EFBFBD>֧[master]
2019-02-27 21:11:06 +08:00
call git checkout dev
2019-02-21 13:54:25 +08:00
call git fetch github master:master
call git fetch gitee master:master
2019-04-14 16:22:05 +08:00
echo <20><>ȡԶ<C8A1>̷<EFBFBD>֧[dev]
2019-02-21 13:54:25 +08:00
call git checkout master
2019-02-27 21:11:06 +08:00
call git fetch github dev:dev
call git fetch gitee dev:dev
2019-04-14 16:22:05 +08:00
echo <20><>ʼ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>֧[master]
2019-02-27 21:11:06 +08:00
call git checkout dev
call git merge master
2019-04-14 16:22:05 +08:00
echo <20><>ʼ<EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD>֧[dev]
2019-02-27 21:11:06 +08:00
call git checkout master
2019-02-21 13:54:25 +08:00
call git merge dev
2019-04-14 16:22:05 +08:00
echo <20><><EFBFBD>͵<EFBFBD>gitee
2019-02-27 21:11:06 +08:00
call git push gitee dev
2019-02-21 13:54:25 +08:00
call git push gitee master
2019-04-14 16:22:05 +08:00
echo <20><><EFBFBD>͵<EFBFBD>github
2019-02-21 13:54:25 +08:00
call git push github dev
call git push github master
2019-04-14 16:22:05 +08:00
echo <20><><EFBFBD><EFBFBD>tags
2019-02-27 21:11:06 +08:00
call git push github --tags
2019-02-22 18:35:42 +08:00
call git push gitee --tags
2019-02-21 13:54:25 +08:00
call git checkout dev