git-branch

gb is your friendly tool to easily switch between branches in your git repository. You can also view theirs, manage and get more control!

Installation

The tool is available for all platforms (Linux, macOS, Windows) on this page. You can also use your favorite package manager to easily install and update git-branch.

macOS

brew tap tchoupinax/brew
brew install tchoupinax/gb

Usage

Go in a git repository and type gb :). The list of all branches will appear, you can then swith to one by typing the number at the start of the line.

GitHub

View Github