gh-mirror

command module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2026 License: MIT Imports: 12 Imported by: 0

README

Mirror

This is a GitHub CLI (gh) plugin for mirroring all the repos in an organization, or set of organizations.

It will create a folder for every organization you're authenticated against, and then clone or sync all the repos in the org folder.

If repos don't exist locally, they'll be cloned. If they do, they'll be synced.

If a repo's in a dirty state or contains commits that have not been pushed, it will refuse to act. It's non destructive.

Install it like this:

$ gh ext install github.com/sean9999/gh-mirror

Use it like this:

$ gh mirror /path/to/mirror

If the folder doesn't exist, it'll be created. If you don't pass in a folder argument, current directory is assumed.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL