GFF Fuzzy Finds is a Git wrapper with fuzzy finders and previewers.
Clone this repository and add the bin to your PATH in your shell rc file (e.g. .zshrc
) like so:
export PATH="$PATH:path/to/gff/bin"
Additionally add a shorter alias like so:
alias g="gff"
This tool has been created to make it easier to perform common Git commands interactively, with previews. The goal is to minimize repetition of git add
, git status
, git checkout
etc. commands.
GFF provides the following commands:
gff ch
- add chunks and commitgff co
- checkout filesgff rg
- use ripgrep and fzf to find and filter text in repositorygff rm
- remove files from repositorygff st
- stage/unstage files and commitgff sw
- switch/create branches
GFF_EDITOR
- Editor executable for opening files. Can becode
|nvim
|vim
. Defaults to$EDITOR
.
GFF works only if you have the following already installed:
Recommended:
- A modern version of tmux. The GFF interface will use a tmux popup if tmux if available but will work just fine without it.
It has been tested and works on modern versions of ZSH and BASH. There is currently no plan to support something else but contributions of any kind are welcome.