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
.
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 from releases
- Rename the file to
git-brunch
- Make it executable with
chmod +x git-brunch
- Add to your
PATH
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
git-brunch
can be installed from source. It can be forked and modified, if you like to.
git clone https://github.com/andys8/git-brunch
cd git-brunch
stack install
# or nix-env -if .
stack run
stack test --file-watch
stack install --flag git-brunch:static
cabal2nix --shell . > default.nix
- Bump version in
package.yaml
anddefault.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