Quick and dirty way to create and select recently used branches interactively from the command line. Branches are sorted in descending order by committerdate
, and hitting enter over your choice will checkout that branch for you. This means you can easily swap between your most recently updated branches.
## Creating new branches
It was inspired by the Merginal plugin for Vim, and just leverages node's inquirer
library and parses git branches as explained here http://stackoverflow.com/a/5188364/6457275.
npm install -g git-select
## Requirements Node (should work on any version, but it's untested on the really old ones)
- Ability to create new branches
- Custom formatting
- Better git parsing approach (less hacky)