Files
gitomatic/README.md
2019-08-03 00:03:58 +02:00

39 lines
710 B
Markdown

git-o-matic
===========
A tool to monitor a git repository and automatically pull & push changes
## Installation
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).
To install gitomatic, 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"
```