Support mirror clone
See original GitHub issueHi,
I want a choose that can clone repository with --mirror
. Maybe this one not supported by libgit2
yet.
Issue Analytics
- State:
- Created 10 years ago
- Reactions:1
- Comments:14 (10 by maintainers)
Top Results From Across the Web
Mirror with Clone Tool - Adobe Support Community
I always clone to a new empty layer on top of the layer I'm cloning from. So I don't destroy the layer I'm...
Read more >sjtug/mirror-clone: All-in-one mirror utility for ...
mirror -clone is originally built for setting up a mirror repo on SJTU S3 ... Use ./mirror-clone --help to view current commands and...
Read more >What's the difference between git clone --mirror and ...
The git clone help page has this to say about --mirror : Set up a mirror of the remote repository. This implies --bare...
Read more >Mirror/clone my iPhone contents
Mirror /clone my iPhone contents. Welcome to Apple Support Community. A forum where Apple customers help each other with their products. Get ...
Read more >Question about masteries: specifically mirror and clone
If I then use mirror and/or clone, I'm a troll. But, does the extra damage from the mirror/clone also count towards the goblin...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi,
use it in my GitLabToGitHub migration tool. You can find an example for clone --mirror in my GitLabConnector class. And an axample for push --mirror is locatet in the GitHubConnector class.
Hope that helps.
Greetings Andreas
It seems, from this series of comments, that someone was able to implement a clone --mirror and a push --mirror
Could someone share example code for that implementation?
BACKGROUND
I’m trying to replace very rudimentary batch script with a c# application to handle migration of repositories from one server to another