Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including git-bc with all npm packages installed. Try it out:

var gitBc = require("git-bc")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

git-bc v1.2.2

Git plugin to interactively list branches and checkout

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

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free