#switch

bin+lib porky

A git branch switcher tool

3 releases

0.1.2 Nov 22, 2022
0.1.1 Nov 22, 2022
0.1.0 Nov 22, 2022

#66 in #switch

27 downloads per month

MIT/Apache

11KB
95 lines

two chinchilla

porky

Intro

Porky is my pet chinchilla. She can help you list your github branches and switch to a branch.

Installation

Options:

  • If you have cargo installed, run cargo install porky
  • Download binary executable in target/debug/porky, move this file to /usr/local/bin using this command sudo cp target/debug/porky /usr/local/bin

How to Use

Type porky on your terminal will list out your most recent github branches, sorted by last commit date, in a cli selectable format.

Use up or down arrow key to select a branch. Press enter will checkout the selected branch.

Press q key to exit from selection menu

Dependencies

~1.3–8MB
~61K SLoC