Git Push to multiple repositories simultaneously

Posted by Matt Bryson on 24-Jan-2013 12:11:17

Whilst working on our touch swipe project, I have been working with 2 remotes; the public gitHub repo, and our company repo.

With Git, this is super simple, just add another remote and give it a name and the url:

git remote add repo_name git@server.com:company/project/repo.git

With multiple remotes, you need to push to each remote individually, but if you simply want 2 remotes to be a mirror of each other there is a way to push to both of them at the same time.

Read More

Topics: GIT