Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add_remote.sh script should be created #44

Open
samrocketman opened this issue Sep 17, 2014 · 2 comments
Open

add_remote.sh script should be created #44

samrocketman opened this issue Sep 17, 2014 · 2 comments

Comments

@samrocketman
Copy link
Owner

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
Copy link
Owner Author

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

@samrocketman samrocketman reopened this Feb 3, 2015
@samrocketman samrocketman modified the milestone: gitlab-mirrors 0.6 Feb 3, 2015
@samrocketman
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant