Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.04 KB

README.md

File metadata and controls

25 lines (17 loc) · 1.04 KB

git-select

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.

Checking out recent branches

git-select

## Creating new branches

git-select-new

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.

Installation

npm install -g git-select

## Requirements Node (should work on any version, but it's untested on the really old ones)

Next steps

  • Ability to create new branches
  • Custom formatting
  • Better git parsing approach (less hacky)