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:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Git plugin to interactively list branches and checkout
git branch +
git checkout in a single, convenient command.
Install it using npm:
npm install -g git-bc
Run the command:
This will list all available branches for your repo in a interactive list, just hit ENTER to checkout whatever branch you select.
git bc -aList all available branches
git bc -rList remote branches only
git bc -hShows help message
MIT © Ruy Adorno