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
See the fzf documentation for details on installing on Windows and Linux
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.