| 1 | [](https://travis-ci.com/isacikgoz/gitbatch) [](/LICENSE) [](https://goreportcard.com/report/github.com/isacikgoz/gitbatch) |
| 2 | |
| 3 | ## gitbatch |
| 4 | Managing multiple git repositories is easier than ever. I (*was*) often end up working on many directories and manually pulling updates etc. To make this routine faster, I created a simple tool to handle this job. Although the focus is batch jobs, you can still do de facto micro management of your git repositories (e.g *add/reset, stash, commit etc.*) |
| 5 | |
| 6 | Check out the screencast of the app: |
| 7 | [](https://asciinema.org/a/lxoZT6Z8fSliIEebWSPVIY8ct) |
| 8 | |
| 9 | ## Installation |
| 10 | To install with go, run the following command; |
| 11 | ```bash |
| 12 | go get -u github.com/isacikgoz/gitbatch/cmd/gitbatch |
| 13 | ``` |
| 14 | |
| 15 | ### MacOS using homebrew |
| 16 | ```bash |
| 17 | brew install gitbatch |
| 18 | ``` |
| 19 | For other options see [installation page](https://github.com/isacikgoz/gitbatch/wiki/Installation) |
| 20 | |
| 21 | ## Use |
| 22 | run the `gitbatch` command from the parent of your git repositories. For start-up options simply `gitbatch --help` |
| 23 | |
| 24 | For more information see the [wiki pages](https://github.com/isacikgoz/gitbatch/wiki) |
| 25 | |
| 26 | ## Further goals |
| 27 | - improve testing |
| 28 | - add push |
| 29 | - full src-d/go-git integration (*having some performance issues in large repos*) |
| 30 | - fetch, config, rev-list, add, reset, commit, status and diff commands are supported but not fully utilized, still using git occasionally |
| 31 | - merge, stash are not supported yet by go-git |
| 32 | |
| 33 | ## Credits |
| 34 | - [go-git](https://github.com/src-d/go-git) for git interface (partially) |
| 35 | - [gocui](https://github.com/jroimartin/gocui) for user interface |
| 36 | - [viper](https://github.com/spf13/viper) for configuration management |
| 37 | - [color](https://github.com/fatih/color) for colored text |
| 38 | - [kingpin](https://github.com/alecthomas/kingpin) for command-line flag&options |
| 39 |