Re:Take Gitlab to the command line with GLab, an open-source...
by mcintyre1994 on Thursday August 06, 2020 @09:35AM
(#24070725)
Does this mean when you `git push origin <branch>` it gets pushed to both remotes? I had no idea you could have two remotes with the same name, neat!
[ Parent
| on HN ]
Re:Take Gitlab to the command line with GLab, an open-source...
by giancarlostoro on Thursday August 06, 2020 @10:12AM
(#24071035)
TIL that's exactly what this does, alternatively you can add them all to an 'all' remote, to make it more explicit:
https://jigarius.com/blog/multiple-git-remote-repositories#t...
However, you can add multiple URLs to 'origin' and push to them all at once.