Open
Description
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:
- mirror clone with a code example I found here in Issues
- create a new remote pointing to the other server (the repo was already created separately)
- ??? what pushoptions for mirror ???
- push to the new repo on other server
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).
Metadata
Metadata
Assignees
Labels
No labels