git-brunch: git checkout command-line tool

[ bsd3, git, program ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/andys8/git-brunch


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
staticDisabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0.0, 1.0.1.0, 1.0.2.0, 1.0.3.0, 1.0.4.0, 1.0.5.0, 1.0.6.0, 1.1.0.0, 1.1.2.0, 1.2.0.0, 1.3.0.0, 1.3.1.0, 1.4.0.0, 1.4.1.0, 1.4.2.0, 1.4.4.0, 1.5.0.0, 1.5.1.0, 1.6.0.0, 1.7.2.0
Dependencies base (>=4.7 && <5), brick, hspec, microlens, optparse-applicative, process, vector, vty [details]
License BSD-3-Clause
Copyright 2020 andys8
Author andys8
Maintainer andys8@users.noreply.github.com
Category Git
Home page https://github.com/andys8/git-brunch#readme
Bug tracker https://github.com/andys8/git-brunch/issues
Source repo head: git clone https://github.com/andys8/git-brunch
Uploaded by andys8 at 2020-11-07T00:48:00Z
Distributions NixOS:1.7.2.0
Executables git-brunch
Downloads 6023 total (115 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 2020-11-07 [all 3 reports]

Readme for git-brunch-1.4.4.0

[back to package description]

git-brunch Travis Actions

A git branch checkout command-line tool

screenshot

Features

  • Checkout local or remote branch
  • Rebase onto a branch
  • Search for a branch
  • Delete a branch
  • Fetch / Update

Usage

Run git-brunch or git brunch.

Git alias (optional)

git config --global alias.b brunch

Installation

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

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

Clone and install from source

git clone https://github.com/andys8/git-brunch.git
cd git-brunch
stack install

Nix

Install with nix-env

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

Clone and install with nix

git clone https://github.com/andys8/git-brunch.git
cd git-brunch
nix-env -if .

Development

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

Release

  • 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