跨平台项目同步工具

liuyuqi-dellpc 2718cafe93 init 2 years ago
conf 2718cafe93 init 2 years ago
data 2718cafe93 init 2 years ago
repo_sync 2718cafe93 init 2 years ago
.gitignore a1be257356 Initial commit 2 years ago
LICENSE a1be257356 Initial commit 2 years ago
README.md 2718cafe93 init 2 years ago
main.py 2718cafe93 init 2 years ago
requirements.txt 2718cafe93 init 2 years ago

README.md

repo_sync

跨平台项目同步工具

由于项目众多,单一通过自己的代码托管平台存在一定风险。此项目将定期将代码同步到其他平台,以防止代码丢失。

  • github
  • gitlab
  • gitee
  • coding

Usage

比如把 data/repo.txt 中的项目同步到 github 上:

python repo_sync.py --debug true --repo data/repo.txt --type github

把 data/repo.txt 中的项目同步到 gitlab 上:

python repo_sync.py --type gitlab