-
Notifications
You must be signed in to change notification settings - Fork 315
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
Push equivalent to clone mirror? #927
Comments
At this time, my somewhat naive first implementation, after poring through the source looks like this. However there are a number of issues that I've listed with inline comments. Note: this is built on MacOS.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Despite looking at the godocs, the tests and the source, I can't seem to figure out the correction
PushOptions
for the opposite of a mirror clone, i.e. push with the mirror options. Ideally, for my special use case with force.I'm trying to clone from one server and push to another, using the mirror option. So, I:
This is using https, not ssh, if it matters.
On that notice, more examples would be very nice (looking at unit tests isn't quite the sames thing).
The text was updated successfully, but these errors were encountered: