pickbranch

1.2.4 • Public • Published

pickbranch

npm PRs Welcome

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 with start. It's also possible to use other regular expressions.

  • Add a git alias in ~/.gitconfig. Then use git pick to pick a branch in your git repo.

    [alias]
        pick = "!f() { pickbranch; }; f"
    

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.40latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.40
1.2.30
1.2.21
1.2.10
1.2.00
1.1.20
1.1.10
1.1.00
1.0.01

Package Sidebar

Install

npm i pickbranch

Weekly Downloads

0

Version

1.2.4

License

ISC

Unpacked Size

3.95 kB

Total Files

4

Last publish

Collaborators

  • henrikgs