mirror of
https://github.com/taigrr/gitomatic.git
synced 2026-04-02 03:09:10 -07:00
39 lines
710 B
Markdown
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"
|
|
```
|