Home

Awesome

gh b

GitHub CLI extension to manage your branches.

asciicast

Installation

gh extension install joaom00/gh-b

Usage

gh b

Mappings

KeyAction
<kbd>j/ctrl+j</kbd>Move down
<kbd>k/ctrl+k</kbd>Move up
<kbd>/</kbd>Enable filter
<kbd>?</kbd>Toggle help
<kbd>Enter</kbd>Checkout the currently selected branch
<kbd>Ctrl+a</kbd>Create a new branch, with confirmation
<kbd>Ctrl+d</kbd>Delete the currently selected branch, with confirmation
<kbd>Ctrl+t</kbd>Track the currently selected branch, with confirmation
<kbd>Ctrl+y</kbd>Merge the currently selected branch, with confirmation
<kbd>Ctrl+u</kbd>Rebase the currently selected branch, with confirmation
<kbd>Ctrl+r</kbd>Rename the currently selected branch