pickbranch
v1.2.4
Published
Pick a git branch
Downloads
6
Readme
pickbranch
Pick a git branch
Install
npm install -g pickbranch
Usage
In any git repo use pickbranch
to pick a branch from a list of branches sorted on latest commit date.
You can then:
- type to filter
- use arrow keys to traverse list of branches
- hit Enter to go to selected branch
Tips
Search for
^start
to find branches beginning withstart
. It's also possible to use other regular expressions.Add a git alias in
~/.gitconfig
. Then usegit pick
to pick a branch in your git repo.[alias] pick = "!f() { pickbranch; }; f"