Automatic git mirroring script
This repository has been archived on 2021-06-07. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2021-05-21 18:44:22 -07:00
.gitignore Initial Commit 2021-05-21 18:34:01 -07:00
.gitm.toml Initial Commit 2021-05-21 18:34:01 -07:00
gitm.rb Pass arguments to appropriate git commands 2021-05-21 18:44:22 -07:00
LICENSE Initial commit 2021-05-21 18:13:07 -07:00
README.md Fix README 2021-05-21 18:34:43 -07:00

Gitm

Automatic git mirroring script.

How it works

This is a simple script that intercepts commands like git init and git push and automatically configures and pushes to many different remotes.

Usage

To use this script, create a file called .gitm.toml and populate it with repositories like so:

[repos]
origin = "https://gitea.arsenm.dev/Arsen6331/gitm.git"
gitlab = "https://gitea.arsenm.dev/moussaelianarsen/gitm.git"