This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 配置仓库信息 | |
repo_name="" | |
github_url="" | |
xylink_url="" | |
# 清理存在的仓库目录 | |
if [ -d "${repo_name}.git" ]; then | |
echo "==== remove existing ${repo_name}.git ====" |