Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Git branch checkout menu

License

NotificationsYou must be signed in to change notification settings

andys8/git-brunch

Repository files navigation

A git command-line tool to work with branches

screenshot

Features

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

Usage

Rungit-brunch orgit brunch.

Git alias (optional)

An alias likegit b (orgb) is a good idea to quickly access the tool.

git config --global alias.b brunch

Installation

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

Download binary

  1. Download fromreleases
  2. Rename the file togit-brunch
  3. Make it executable withchmod +x git-brunch
  4. Add to yourPATH

Arch Linux

git-brunch is in theAUR

yay -S git-brunchpamac install git-brunch

FreeBSD

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 https://github.com/andys8/git-brunchcd git-brunchstack install# or nix-env -if .

Development

Run application

stack run

Run tests

stacktest --file-watch

Build statically linked

stack install --flag git-brunch:static

Generate nix

cabal2nix --shell.> default.nix

Release

  • Bump version inpackage.yaml anddefault.nix
  • stack build
  • Create a commitv0.0.0
  • Create a tagv0.0.0
  • Push commit and push tag
  • Release on github will be created by CI
  • Update release description
  • stack upload .
  • UpdateAUR

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
  • gitui: Terminal UI focused on speed in giant repositories

[8]ページ先頭

©2009-2025 Movatter.jp