• Stars
    star
    1,528
  • Rank 29,487 (Top 0.6 %)
  • Language
    Go
  • License
    MIT License
  • Created over 5 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

manage your git repositories in one place

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

Install latest Golang release.

To install with go, run the following command;

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

or, in Windows 10:

go install github.com/isacikgoz/gitbatch/cmd/gitbatch@latest

MacOS using homebrew

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