Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kyhyco/gh-fh

Fuzzyhub. Super charge your git workflow with fzf and GitHub CLI 🚀
https://github.com/kyhyco/gh-fh

cli fzf gh-extension github terminal

Last synced: 23 days ago
JSON representation

Fuzzyhub. Super charge your git workflow with fzf and GitHub CLI 🚀

Awesome Lists containing this project

README

        




fuzzyhub-logo



Latest release

# Fuzzyhub

`Fuzzyhub` is a collection of tools to super charge your git workflow.

Built with [fzf](https://github.com/junegunn/fzf) and [GitHub Graphql API](https://docs.github.com/en/graphql/guides).

## Installation

```bash
brew install gh fzf bat
gh extension install kyhyco/gh-fh
```

### Set shell alias
```bash
alias fh="gh fh"
```

## Available commands

```bash
Usage: fh

Options:
checkout - Checkout branch
view - View folder/files in the browser

pr checkout - Checkout PR branch
pr view - View PR in the browser

prune - Prune merged branches
push - Push to origin by default
delete - Delete branches
sync - Sync main/master branch

remote add - Add forked repositories to remote
remote delete - Delete remote

update - Update Fuzzyhub
version - Print version
```

## Shell alias examples:

```bash
alias fh="gh fh"

alias fco="gh fh checkout"
alias fv="gh fh view"

alias pco="gh fh pr checkout"
alias pv="gh fh pr view"

alias gm="git checkout main && fh sync && fh prune"
```