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

Mirroring *to* a GitHub repository #2896

Closed
joepie91 opened this issue Mar 28, 2016 · 3 comments
Closed

Mirroring *to* a GitHub repository #2896

joepie91 opened this issue Mar 28, 2016 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@joepie91
Copy link

On my old Gitolite setup, I had post-receive hooks set up in such a way that every push would also be automatically mirrored (git push --mirror) to an equivalent repository on GitHub (where the actual issue management and such lives).

While it's possible to specify this kind of hook manually in each repository's settings, it'd be nicer to have a "mirror to remote Git repository" button to set it up more or less automatically. Would this be a possibility?

@unknwon
Copy link
Member

unknwon commented Mar 28, 2016

Thanks your feedback!

I think this is duplicated to #96?

@unknwon unknwon added the status: needs feedback Tell me more about it label Mar 28, 2016
@joepie91
Copy link
Author

Ah yes, you are correct, that indeed seems like the same request. I searched for a while but I couldn't find a previous issue for this - probably because it was titled 'sync' rather than 'mirror' :)

EDIT: The 'have to confirm host key' point is a good one, I hadn't thought about that. Maybe there is an SSH flag to automatically trust on first contact?

@unknwon
Copy link
Member

unknwon commented Mar 28, 2016

EDIT: The 'have to confirm host key' point is a good one, I hadn't thought about that. Maybe there is an SSH flag to automatically trust on first contact?

I don't know about that and looking for a solution, you can post any possible solution to that thread.

@unknwon unknwon closed this as completed Mar 28, 2016
@unknwon unknwon added duplicate This issue or pull request already exists and removed status: needs feedback Tell me more about it labels Mar 28, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants