August 28, 2019

214 words 2 mins read

isacikgoz/gitbatch

isacikgoz/gitbatch

manage your git repositories in one place

repo name isacikgoz/gitbatch
repo link https://github.com/isacikgoz/gitbatch
homepage
language Go
size (curr.) 563 kB
stars (curr.) 1223
created 2018-11-17
license MIT License

Build Status MIT License Go Report Card

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

Installation

To install with go, run the following command;

go get -u github.com/isacikgoz/gitbatch/cmd/gitbatch

MacOS using homebrew

brew tap isacikgoz/taps
brew install gitbatch

For other options see installation page

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

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 for git interface (partially)
  • gocui for user interface
  • viper for configuration management
  • color for colored text
  • kingpin for command-line flag&options
comments powered by Disqus