mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-04 21:08:30 +08:00
34 lines
457 B
Batchfile
34 lines
457 B
Batchfile
@echo off
|
|
|
|
chcp 65001
|
|
|
|
cd ../
|
|
|
|
echo 拉取主分支
|
|
|
|
call git fetch github master:master
|
|
|
|
call git fetch gitee master:master
|
|
|
|
echo 开始切换分支
|
|
call git checkout master
|
|
|
|
echo 开始合并分支
|
|
call git merge dev
|
|
|
|
echo 推送到gitee
|
|
call git push gitee master
|
|
|
|
echo 推送到github
|
|
call git push github dev
|
|
|
|
call git push github master
|
|
|
|
echo 推送tags
|
|
|
|
call git push gitee --tags
|
|
|
|
call git push github --tags
|
|
|
|
echo 切回分支
|
|
call git checkout dev |