git-brunch: git checkout command-line tool

[ bsd3, git, program ] [ Propose Tags ]

Please see the README on GitHub at

[Skip to Readme]


Manual Flags


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,,,,,,,,,,,,,,,
Dependencies base (>=4.7 && <5), brick, extra, hspec, microlens, microlens-mtl, mtl, optparse-applicative, process, text, vector, vty [details]
License BSD-3-Clause
Copyright 2023 andys8
Author andys8
Category Git
Home page
Bug tracker
Source repo head: git clone
Uploaded by andys8 at 2023-09-10T12:29:33Z
Distributions NixOS:
Executables git-brunch
Downloads 5788 total (65 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2023-09-10 [all 1 reports]

Readme for git-brunch-

[back to package description]

git-brunch Actions

A git command-line tool to work with branches



  • Quickly checkout local or remote branch
  • Merge or rebase a branch
  • Search for a branch
  • Delete a branch
  • Fetch / Update


Run git-brunch or git brunch.

Git alias (optional)

An alias like git b (or gb) is a good idea to quickly access the tool.

git config --global alias.b brunch


The installation is possible in multiple ways, and there are binaries available to download.

Download binary

  1. Download from releases
  2. Rename the file to git-brunch
  3. Make it executable with chmod +x git-brunch
  4. Add to your PATH

Arch Linux

git-brunch is in the AUR

yay -S git-brunch
pamac install git-brunch


git-brunch can be installed from the official FreeBSD package repository

pkg install hs-git-brunch


git-brunch is part of the nix package manager

nix-env -i git-brunch


git-brunch can installed with the Haskell build tool stack

stack install git-brunch # --resolver=lts-lts-20.4

Install from source

git-brunch can be installed from source. It can be forked and modified, if you like to.

git clone
cd git-brunch
stack install
# or nix-env -if .


Run application

stack run

Run tests

stack test --file-watch

Build statically linked

stack install --flag git-brunch:static

Generate nix

cabal2nix --shell . > default.nix


  • Bump version in package.yaml and default.nix
  • stack build
  • Create a commit v0.0.0
  • Create a tag v0.0.0
  • Push commit and push tag
  • Release on github will be created by CI
  • Update release description
  • stack upload .
  • Update AUR
  • git-gone: Lists or removes "gone" branches, that is, local branches which used to have an upstream branch on a remote which is now removed.
  • lazygit: Terminal UI for git commands
  • gitui: Terminal UI focused on speed in giant repositories