index : git-mirror-sync.git

ascending towards madness

# git-mirror-sync

A utility that automatically updates mirrored git repositories. Written in Rust.

## Usage

```shell
git-mirror-sync --refresh-time=10m /srv/git

git-mirror-sync --refresh-time=10m --max-recursion-depth=2 /srv/git
```

`/srv/git` is the path to [bare git repositories][].

[bare git repositories]: https://git-scm.com/book/en/v2/Git-on-the-Server-Getting-Git-on-a-Server

## Why?

Why not? I wrote this in bash and got bored. Now I've made one in Rust :)

## Project Status

This is a **work-in-progress**. In its current state, it works, and it works well.

**To-Do:**

- migrate to using [git2][] instead of the git binary
- documentation
- unit tests?

[git2]: https://github.com/rust-lang/git2-rs

## License

- [AGPLv3]LICENSE