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
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
- Install
rustupto compile the source code for our device/os
Usage
- 📦 Install with cargo
cargo install git-branch
-
🥈 Run
git-branch -
🚀 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
- 🥇 Run
ggb
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