Skip to content

vi17250/git-branch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Use git-branch to manage git branches interactively.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages