Skip to content

Instantly share code, notes, and snippets.

View by-sknight's full-sized avatar
🐈

by_sknight by-sknight

🐈
View GitHub Profile
@by-sknight
by-sknight / init.sh
Last active October 30, 2024 02:40
github repo sync to xylink
#!/bin/bash
# 配置仓库信息
repo_name=""
github_url=""
xylink_url=""
# 清理存在的仓库目录
if [ -d "${repo_name}.git" ]; then
echo "==== remove existing ${repo_name}.git ===="