#git-branch #branch #switch #git #cli

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

#52 in #switch

Download history 156/week @ 2024-02-20 71/week @ 2024-02-27

227 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

~0.3–8.5MB
~52K SLoC