
1 yuan 2014-01-03 01:16:19 +08:00 |
2 acecode 2014-01-03 05:50:24 +08:00 git remote add github AAAAAA;(如果是clone下来的可以省略) git remote add gitcafe BBBBBB; git push github master:master; git push gitcafe master:cafe-pages; |
3 112582358 OP @acecode 感谢,如果需要两次push的话,其实跟分做两个项目也没多大差别把?现在最大的需求就是想一次push到两个仓库的两个分支,我再找找看~嘿嘿 |
4 112582358 OP @yuan [remote "all"] url=ssh://user@server/repos/g0.git url=ssh://user@server/repos/g1.git If you git push all now you push to all the remote urls. 根据你给的链接,这个方法的结果是一次push到两个不同的仓库的同一个分支把?这个已经实现过了哈,谢谢 现在的问题就是“一次push”,“不同仓库”的“不同分支” |