git-brunch: git checkout command-line tool

[ bsd3, git, program ] [ Propose Tags ]

Please see the README on GitHub at

[Skip to Readme]
Versions [faq],,,,,,,,,,,
Dependencies base (>=4.7 && <5), brick, hspec, microlens, optparse-applicative, process, vector, vty [details]
License BSD-3-Clause
Copyright 2020 andys8
Author andys8
Category Git
Home page
Bug tracker
Source repo head: git clone
Uploaded by andys8 at 2020-04-21T21:30:34Z
Distributions NixOS:
Executables git-brunch
Downloads 2523 total (47 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2020-04-22 [all 3 reports]



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


Maintainer's Corner

For package maintainers and hackage trustees

Readme for git-brunch-

[back to package description]

git-brunch Build Status

A git checkout and rebase command-line tool



Run git-brunch or git brunch.

Git alias (optional)

git config --global alias.b brunch


Download binary

  1. Download from releases
  2. Rename to git-brunch
  3. chmod +x git-brunch
  4. Add to PATH

Arch Linux

git-brunch is in the AUR. Install it with e.g. yay -S git-brunch or pamac install git-brunch.



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

Clone and install from source

git clone
cd git-brunch
stack install


Install with nix-env

nix-env -f "<nixpkgs>" -iA haskellPackages.git-brunch

Clone and install with nix

git clone
cd git-brunch
nix-env -if .


Run application

stack build --exec git-brunch

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
  • Create a tag v0.0.0 locally and push it
  • Release on github will be created by CI
  • Update release description
  • stack upload .
  • Update AUR

Related projects

  • 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