gitbatch

module
v0.9.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2026 License: MIT

README

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.). And for the more complex stuff, you can always open lazygit from within gitbatch.

Note: This is my AI playing field, so expect weird code.

Installation

Install latest Golang release.

To install with go, run the following command;

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

or, in Windows 10:

go install github.com/thorstenhirsch/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
  • 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)
  • Bubble Tea for terminal user interface
  • Lipgloss for terminal styling
  • viper for configuration management
  • kingpin for command-line flag&options

Directories

Path Synopsis
cmd
gitbatch command
internal
app
git
job
tui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL