Skip to content
/ gff Public

A CLI interactive Git wrapper with fuzzy finders and previewers.

License

Notifications You must be signed in to change notification settings

treipatru/gff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GFF

GFF Fuzzy Finds is a Git wrapper with fuzzy finders and previewers.

Install

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"

Use

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 commit
  • gff co - checkout files
  • gff rg - use ripgrep and fzf to find and filter text in repository
  • gff rm - remove files from repository
  • gff st - stage/unstage files and commit
  • gff sw - switch/create branches

Config

  • GFF_EDITOR - Editor executable for opening files. Can be code|nvim|vim. Defaults to $EDITOR.

Dependencies

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.

About

A CLI interactive Git wrapper with fuzzy finders and previewers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages