Nicolas Bouliane

Push a git to multiple repositories at once Posted on

If you want to push a git to several remote repositories at one, use this simple command:

git remote set-url --add --push [repository] [url]

For example, here’s how I add Ignition’s GitHub repo to origin:

git remote set-url --add --push origin https://github.com/nicbou/Ignition