gitlab-mirrors
gitlab-mirrors copied to clipboard
add_remote.sh script should be created
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.
This is better done in the ruby rewrite. ref link #63.
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.