Skip to content

Quickly select recently used branches interactively from the command line.

Notifications You must be signed in to change notification settings

JonathanUsername/git-select

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Quickly select recently used branches interactively from the command line.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published