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
For all developers who use git as their version control system
- Install
rustupto compile the source code for our device/os
- 📦 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
The original idea came from the 🧙♂️ Valentin Barit
The original repo can be accessed here https://github.com/quibaritaenperdresatrompe/git-branch
