#local-git #interactive #manage #delete #hash #head-branch

app git-branch

Use git-branch to manage local git branches interactively

6 releases

Uses new Rust 2024

0.1.5 Mar 30, 2026
0.1.4 Mar 29, 2026
0.1.2 Dec 15, 2025
0.1.0 Oct 26, 2025

#2 in #local-git

MIT license

15KB
295 lines

Git branch

Use git-branch to manage local git branches interactively 🔥

  • Displays the origin branch
  • Displays the HEAD branch
  • Displays all local branches with the commit hash and time elapsed since the last modification
  • Delete branches simultaneously

Who is it intended for?

For all developers who use git as their version control system

Installation

Pre-requisite

  1. Install rustup to compile the source code for our device/os

Usage

  1. 📦 Install with cargo
cargo install git-branch
  1. 🥈 Run git-branch

  2. 🚀 Optional but incredible: Add an alias oh my zsh

touch $ZSH_CUSTOM/aliases.zsh
echo "alias ggb=git-branch" >> $ZSH_CUSTOM/aliases.zs
source ~/.zshrc 
  1. 🥇 Run ggb

demo

Special thanks:

The original idea came from the 🧙‍♂️ Valentin Barit

The original repo can be accessed here https://github.com/quibaritaenperdresatrompe/git-branch

Dependencies

~4.5–9MB
~182K SLoC