diff --git a/bin/push_dev.sh b/bin/push_dev.sh index 5e1e2c4aa..1de633dc0 100755 --- a/bin/push_dev.sh +++ b/bin/push_dev.sh @@ -19,7 +19,9 @@ echo -e "\033[32mCheckout to v6-dev\033[0m" 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 -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 +echo -e "\033[32mPush to Gitcode v6-dev\033[0m" +git push gitcode v6-dev diff --git a/bin/push_master.sh b/bin/push_master.sh index 0e3e39842..fc9682954 100755 --- a/bin/push_master.sh +++ b/bin/push_master.sh @@ -25,7 +25,9 @@ git checkout v6-master echo -e "\033[32mMerge v6-dev branch\033[0m" 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 -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 +echo -e "\033[32mPush to Gitcode v6-master\033[0m" +git push gitcode v6-master diff --git a/bin/sync.sh b/bin/sync.sh index 2e820d313..0df8ae090 100644 --- a/bin/sync.sh +++ b/bin/sync.sh @@ -22,6 +22,7 @@ # 保证当前在v6-dev分支 git checkout v6-dev -# 同时同步Gitee和Github的库 +# 同时同步Gitee、Github和Gitcode的库 git pull osc v6-dev git pull origin v6-dev +git pull gitcode v6-dev