2016-08-18 132 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。

相關問題