/switch-git-branches

SGB - A tool easier switching git branches

Primary LanguageJavaScript

switch-git-branches npm package node compatibility

A tool easier switching git branches.

Usage

# install
npm install switch-git-branches -g

# select git repo
cd git-repo/

# switch git branches
sgb

Example

sgb example

More info

  • Type to filter the list.
  • Use ⇧/⇩ to navigate. Use tab to cycle the result.
  • Use Page Up/Page Down (on Mac: fn + ⇧ / ⇩) to change page.
  • Hit enter to select the highlighted item below the prompt.