gitlab-mirrors icon indicating copy to clipboard operation
gitlab-mirrors copied to clipboard

add_remote.sh script should be created

Open samrocketman opened this issue 10 years ago • 2 comments

Create a script which allows an admin to add additional remotes to an already existing repository. This would allow gitlab-mirrors to mirror to multiple remotes.

samrocketman avatar Sep 17 '14 04:09 samrocketman

This is better done in the ruby rewrite. ref link #63.

samrocketman avatar Feb 03 '15 01:02 samrocketman

This would be configured like the following.

git remote set-url gitlab --push --add user1@repo1

That would add a second host to push in the gitlab remote. Then git push gitlab would effectively be the same as pushing to multiple remotes but it's combined in the same command. See stack overflow.

samrocketman avatar Feb 03 '15 02:02 samrocketman