Skip to content

ruyadorno/git-bc

Repository files navigation

git-bc

NPM version Build Status

Git plugin to interactively list branches and checkout

git-bc example image

git branch + git checkout in a single, convenient command.

Install

Install it using npm:

npm install -g git-bc

Usage

Run the command:

git bc

This will list all available branches for your repo in a interactive list, just hit ENTER to checkout whatever branch you select.

Options

  • git bc -a List all available branches
  • git bc -r List remote branches only
  • git bc -h Shows help message

License

MIT © Ruy Adorno