# Pushing to Multiple Git Repos
###### tags: `learn.grey.software`
Remotes
=======
Suppose your git remotes are set up like this::
git remote add github URL
git remote add gitlab URL
The ``origin`` remote probably points to one of these URLs.
Remote Push URLs
================
To set up the push URLs do this::
git remote set-url --add --push origin URL
git remote set-url --add --push origin URL
It will change the ``remote.origin.pushurl`` config entry. Now pushes
will send to both of these destinations, rather than the fetch URL.
Check it out by running::
git remote show origin