/git-repo-sync

A tool to sync all branches from a git repo to another.

Primary LanguagePythonMIT LicenseMIT

Git 仓库代码同步工具

同步仓库 A 的所有分支的代码到仓库 B。

python sync.py <source repo> <target repo>

示例:

python sync.py git@site-a.com:wzpan/repo.git git@site-b.com:wzpan/repo.git