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"
    

/pickbranch/

    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