2016-08-18 128 views

回答

1

只需添加另一个远程回购 - 见here

git remote add otherrepo https://github.com/blabla/blub42 

然后你可以把它

git push otherrepo master 
0

由于described here,您可以修改当前的远程推送到多个网址:

git remote set-url --add --push origin $(git remote get-url origin) 
git remote set-url --add --push origin /new/url 

(你需要两个命令)

然后一个git push会推到两个urls。

相关问题