1
messense May 31, 2012 git remote add origin xxx
git remote add another yyy git push origin master git push another master 这样行不? |
2
airyland May 31, 2012
同ls,分两次提交就行了。
|
3
poiyzy May 31, 2012 我自己这样用
vim .git/config [remote "web"] url = ssh://server.example.org/home/ams/website.git url = ssh://other.exaple.org/home/foo/website.git |
4
poiyzy May 31, 2012
这样只需要 git push web 就两个都更新了
|
7
panxianhai OP |
8
ElmerZhang May 31, 2012
@poiyzy 这技巧不错,收藏
|
9
112582358 Jan 2, 2014
请问下如何添加两个不同仓库的不同分支呢?
比如说: github的master,以及gitcafe的cafe-pages |
10
112582358 Jan 3, 2014
请问下如何添加两个不同仓库的不同分支呢?
比如说: github的master,以及gitcafe的cafe-pages 我的电脑上有一个git版本库,有没有可能是当我push到一个git服务器上面的时候同时也更新到另外一个git服务器? |
11
firstar Apr 22, 2016
感谢!
|