/gh-branch

GitHub CLI extension for fuzzy finding, quickly switching between and deleting branches.

Primary LanguageShellThe UnlicenseUnlicense

gh branch GitHub CLI extension

GitHub CLI extension for fuzzy finding, quickly switching between, and deleting branches.

Installation

gh extension install mislav/gh-branch

This extension depends on fzf as a fuzzy finder. To install using Homebrew:

brew install fzf

Usage

gh branch

Displays an interactive branch switcher that lists local branches in relation to the pull requests in the repository. The selected branch is checked out.