git-checkout-interactive is an extension that presents you with the list of branches you are likely to checkout. So instead of typing those long branch names simply type a number and you are set!!
You can install git-checkout-interactive
using
curl -L https://raw.githubusercontent.com/kaunteya/git-checkout-interactive/master/installer.sh | sudo sh
make install
Run this command in your repo
git checkout-interactive
An alias can be added in ~/.bashrc
or ~/.zshrc
alias gcoi="git checkout-interactive"
After adding and alias, simply run gcoi
in your repo
git-checkout-interactive
is released under the MIT license. See LICENSE for details.