Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/isacikgoz/gitbatch
manage your git repositories in one place
https://github.com/isacikgoz/gitbatch
batch batch-download git golang pull-stream
Last synced: 25 days ago
JSON representation
manage your git repositories in one place
- Host: GitHub
- URL: https://github.com/isacikgoz/gitbatch
- Owner: isacikgoz
- License: mit
- Created: 2018-11-17T12:57:53.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-11T20:55:09.000Z (over 1 year ago)
- Last Synced: 2024-10-01T15:22:05.579Z (about 1 month ago)
- Topics: batch, batch-download, git, golang, pull-stream
- Language: Go
- Homepage:
- Size: 644 KB
- Stars: 1,538
- Watchers: 16
- Forks: 53
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go - gitbatch - manage your git repositories in one place. (Utilities / Utility/Miscellaneous)
- favorite-link - 在一个地方管理你的 git 存储库。
- awesome - isacikgoz/gitbatch - manage your git repositories in one place (Go)
- awesome-go - gitbatch - manage your git repositories in one place. Stars:`1.5K`. (Utilities / Utility/Miscellaneous)
- awesome-go-extra - gitbatch - 11-17T12:57:53Z|2021-08-07T01:39:54Z| (Utilities / Fail injection)
README
![Build Status](https://img.shields.io/github/actions/workflow/status/isacikgoz/gitbatch/ci.yml) [![MIT License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](/LICENSE) [![Go Report Card](https://goreportcard.com/badge/github.com/isacikgoz/gitbatch)](https://goreportcard.com/report/github.com/isacikgoz/gitbatch)
## gitbatch
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.*)Check out the screencast of the app:
[![asciicast](https://asciinema.org/a/lxoZT6Z8fSliIEebWSPVIY8ct.svg)](https://asciinema.org/a/lxoZT6Z8fSliIEebWSPVIY8ct)## Installation
Install [latest](https://golang.org/dl/) Golang release.
To install with go, run the following command;
```bash
go get github.com/isacikgoz/gitbatch/cmd/gitbatch
```
or, in Windows 10:
```bash
go install github.com/isacikgoz/gitbatch/cmd/gitbatch@latest
```### MacOS using homebrew
```bash
brew install gitbatch
```
For other options see [installation page](https://github.com/isacikgoz/gitbatch/wiki/Installation)## Use
run the `gitbatch` command from the parent of your git repositories. For start-up options simply `gitbatch --help`For more information see the [wiki pages](https://github.com/isacikgoz/gitbatch/wiki)
## Further goals
- improve testing
- add push
- full src-d/go-git integration (*having some performance issues in large repos*)
- fetch, config, rev-list, add, reset, commit, status and diff commands are supported but not fully utilized, still using git occasionally
- merge, stash are not supported yet by go-git## Credits
- [go-git](https://github.com/src-d/go-git) for git interface (partially)
- [gocui](https://github.com/jroimartin/gocui) for user interface
- [viper](https://github.com/spf13/viper) for configuration management
- [color](https://github.com/fatih/color) for colored text
- [kingpin](https://github.com/alecthomas/kingpin) for command-line flag&options