mirror of
https://github.com/taigrr/gitomatic.git
synced 2026-04-15 17:50:50 -07:00
45 lines
846 B
Markdown
45 lines
846 B
Markdown
git-o-matic
|
|
===========
|
|
|
|
A tool to monitor a git repository and automatically pull & push changes
|
|
|
|
## Installation
|
|
|
|
### Packages & Binaries
|
|
|
|
- [Binaries](https://github.com/muesli/gitomatic/releases) for Linux, macOS & Windows
|
|
|
|
### From Source
|
|
|
|
Make sure you have a working Go environment (Go 1.11 or higher is required).
|
|
See the [install instructions](http://golang.org/doc/install.html).
|
|
|
|
Compiling gitomatic is easy, simply run:
|
|
|
|
git clone https://github.com/muesli/gitomatic.git
|
|
cd gitomatic
|
|
go build
|
|
|
|
## Usage
|
|
|
|
Monitor a repository for changes and automatically pull & push changes:
|
|
|
|
```
|
|
gitomatic <path>
|
|
```
|
|
|
|
Auth methods:
|
|
|
|
```
|
|
gitomatic -privkey ~/.ssh/id_rsa
|
|
gitomatic -username "someone" -password "mypass"
|
|
```
|
|
|
|
Other parameters:
|
|
|
|
```
|
|
gitomatic -interval 30m
|
|
gitomatic -author "John Doe"
|
|
gitomatic -email "some@mail.tld"
|
|
```
|