mirror of
https://github.com/kastelo-labs/git-mirror.git
synced 2026-07-17 02:15:03 +00:00
Simple Git remote-to-remote mirroring script
- Go 95.5%
- Makefile 2.6%
- Dockerfile 1.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| .gitignore | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| Makefile | ||
| pushpull.go | ||
| README.md | ||
git-mirror
Mirror a specific repository from one remote to another.
Usage: git-mirror --src=STRING --dst=STRING
Flags:
-h, --help Show context-sensitive help.
-s, --src=STRING Source repo URL ($SRC_URL)
-d, --dst=STRING Destination repo URL ($DST_URL)
-t, --src-token=STRING Source repo token/password ($SRC_TOKEN)
-e, --dst-token=STRING Destination repo token/password ($DST_TOKEN)
-u, --src-user=STRING Source repo user ($SRC_USER)
-v, --dst-user=STRING Destination repo user ($DST_USER)
--verbose Enable verbose output ($VERBOSE)