LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

forgit

Interactive git commands with fzf

TLDR

Interactive git log viewer
$ forgit log
copy
Interactive git diff viewer
$ forgit diff
copy
Interactive git add
$ forgit add
copy
Interactive git stash viewer
$ forgit stash
copy

SYNOPSIS

forgit [command] [options]

DESCRIPTION

forgit wraps common git commands with interactive fzf interfaces. It provides fuzzy-finding capabilities for git operations like viewing logs, diffs, staging files, and managing branches.The tool requires fzf to be installed and enhances git workflows by making it easy to search and select from large sets of commits, branches, or files.

PARAMETERS

log

Interactive git log browser
diff
Interactive diff viewer
add
Interactive staging selector
reset
Interactive unstage selector
stash
Interactive stash viewer
ignore
Interactive .gitignore generator
clean
Interactive clean selector
rebase
Interactive rebase commit selector
cherry-pick
Interactive cherry-pick commit selector
checkout> Interactive branch/checkout selectorbranch> Interactive branch manager-h, --help> Display help and exit--version> Display version and exit

COMMANDS

Each command wraps the git equivalent with an interactive fzf interface:

$ forgit log      → git log with fuzzy search
forgit diff     → git diff with file selection
forgit add      → git add with file picker
forgit stash    → git stash with list picker
forgit checkout → git checkout with branch picker
copy

INSTALL

brew install forgit
copy

CAVEATS

Requires fzf to be installed. Terminal must support interactive TUIs. Large repositories may be slow to load. Some commands may not support all git flags.

HISTORY

forgit was created to combine the power of fzf with common git operations, making it easier to navigate large git repositories interactively.

SEE ALSO

[fzf](https://github.com/junegunn/fzf), [git](https://git-scm.com/), [lazygit](https://github.com/jesseduffield/lazygit)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid