pull/push from multiple remote locations

后端 未结 15 1295
傲寒
傲寒 2020-11-21 10:17

The short: is there a way to have a git repo push to and pull from a list of remote repos (rather than a single \"origin\")?

The long:

15条回答
  •  Happy的楠姐
    2020-11-21 10:48

    You can add remotes with:

    git remote add a urla
    git remote add b urlb
    

    Then to update all the repos do:

    git remote update
    

提交回复
热议问题