Switch git branch interactively using arrow keys
You need to have node
installed.
yarn global add git-gbr
OR
npm install --global git-gbr
If you're using zsh or any other kind of shell that already aliased "gbr" to
some other command, you may need to override this in your ~/.zshrc
/
~/.bashrc
or similar file.
alias gbr='/usr/local/bin/gbr'
Now in any git repository, run
gbr