Hacker News new | ask | show | jobs
by Gurrewe 3538 days ago
As someone who is effected by this:

Are there any good ways to push/pull from multiple upstreams for whole teams? That also works with your whole CI workflow?

So that you for example can have copies of the repository available on both Bitbucket, GitHub, and GitLab at the same time.

1 comments

You could set up some "failover" upstreams that are mirrored using git's post-receive hooks. Or, you could define a particular git remote to have multiple URL's.

This post explains in greater detail:

http://stackoverflow.com/questions/6882017/git-hook-post-rec...