Simple Git remote-to-remote mirroring script
  • Go 95.5%
  • Makefile 2.6%
  • Dockerfile 1.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-01-23 11:10:01 +01:00
.github/workflows build: Update dependencies 2024-01-16 12:02:12 +01:00
.gitignore Add build and push action 2022-09-05 08:55:21 +02:00
Dockerfile Add build and push action 2022-09-05 08:55:21 +02:00
go.mod build: Update dependencies 2024-01-23 11:10:01 +01:00
go.sum build: Update dependencies 2024-01-23 11:10:01 +01:00
main.go Add config for head ref 2023-11-22 14:55:50 +01:00
Makefile Add build and push action 2022-09-05 08:55:21 +02:00
pushpull.go Add config for head ref 2023-11-22 14:55:50 +01:00
README.md Dependency updates, modernisation 2023-07-11 09:50:44 +02:00

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)