add gitcode

This commit is contained in:
Looly 2024-12-19 14:16:22 +08:00
parent f76519351d
commit a5d5af1b8f
3 changed files with 10 additions and 5 deletions

View File

@ -19,7 +19,9 @@
echo -e "\033[32mCheckout to v6-dev\033[0m" echo -e "\033[32mCheckout to v6-dev\033[0m"
git checkout v6-dev git checkout v6-dev
echo -e "\033[32mPush to origin v6-dev\033[0m" echo -e "\033[32mPush to Github(origin) v6-dev\033[0m"
git push origin v6-dev git push origin v6-dev
echo -e "\033[32mPush to osc v6-dev\033[0m" echo -e "\033[32mPush to Gitee v6-dev\033[0m"
git push osc v6-dev git push osc v6-dev
echo -e "\033[32mPush to Gitcode v6-dev\033[0m"
git push gitcode v6-dev

View File

@ -25,7 +25,9 @@ git checkout v6-master
echo -e "\033[32mMerge v6-dev branch\033[0m" echo -e "\033[32mMerge v6-dev branch\033[0m"
git merge v6-dev -m 'Prepare release' git merge v6-dev -m 'Prepare release'
echo -e "\033[32mPush to origin v6-master\033[0m" echo -e "\033[32mPush to Github(origin) v6-master\033[0m"
git push origin v6-master git push origin v6-master
echo -e "\033[32mPush to osc v6-master\033[0m" echo -e "\033[32mPush to Gitee v6-master\033[0m"
git push osc v6-master git push osc v6-master
echo -e "\033[32mPush to Gitcode v6-master\033[0m"
git push gitcode v6-master

View File

@ -22,6 +22,7 @@
# 保证当前在v6-dev分支 # 保证当前在v6-dev分支
git checkout v6-dev git checkout v6-dev
# 同时同步Gitee和Github的库 # 同时同步Gitee、Github和Gitcode的库
git pull osc v6-dev git pull osc v6-dev
git pull origin v6-dev git pull origin v6-dev
git pull gitcode v6-dev