Isa*_*uan 4 version-control github bitbucket
我最近刚找到一份新工作,他们所有项目的回购都在BitBucket上。
我曾经使用过很多GitHub,所以我想知道是否存在一种在两者之间同步贡献的方法。
我已经尝试过https://github.com/jrm2k6/contwidgetor。看来这是一种方法,但对我却不起作用,并且对此的支持有限。
小智 6
您可以对GitHub使用Contributions Importer
它将所有提交从源git存储库复制到模拟git存储库。每个复制的提交将报告相同的提交日期,但是不复制原始代码,也不复制提交消息。
模拟代码是使用与原始源存储库相同的语言生成的。
例如,我的个人资料上有一个模拟存储库,该存储库报告了我所有私有存储库的所有活动。
您至少可以手动将任何 Git BitBucket 存储库从 BitBucket 镜像到 GitHub:
git clone --mirror http://user@bitbucket/user/repo.git
git remote add github http://user@github.com/user/repo.git
git push --mirror github
Run Code Online (Sandbox Code Playgroud)
(先在GitHub端创建一个空的repo)
然后,根据需要,您可以进入本地克隆,进行提取,然后push --mirror github再次进行 git 同步新提交。
| 归档时间: |
|
| 查看次数: |
938 次 |
| 最近记录: |