hutool/bin/sync.sh

24 lines
723 B
Bash
Raw Normal View History

2023-12-26 00:03:30 +08:00
#!/bin/bash
#
# Copyright (c) 2023 looly(loolly@aliyun.com)
# Hutool is licensed under Mulan PSL v2.
# You can use this software according to the terms and conditions of the Mulan PSL v2.
# You may obtain a copy of Mulan PSL v2 at:
# https://license.coscl.org.cn/MulanPSL2
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
# EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
# MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
# See the Mulan PSL v2 for more details.
#
# show Hutool logo
"$(dirname ${BASH_SOURCE[0]})"/logo.sh
# 保证当前在v6-dev分支
2023-12-26 00:03:30 +08:00
git checkout v6-dev
# 同时同步Gitee和Github的库
2023-12-26 00:03:30 +08:00
git pull osc v6-dev
git pull origin v6-dev