Skip to main content

Interactive versions of built-in Git commands using fzf

Project description

git-fzf

git-fzf provides interactive versions of built-in Git commands using fzf.

https://user-images.githubusercontent.com/933396/130337334-345c5c60-4e20-4807-8ed3-655bf5115981.mp4

Installation

Run pip install git-fzf

Usage

git iadd
Interactively choose one or more files to add
git icommit
Interactively choose one or more staged or unstaged files to commit
git idiff
Interactively choose one or more files to diff. Provide the --staged or --cached flag to choose from staged files.
git idifftool
Interactively choose one or more files to diff with the difftool. Provide the --staged or --cached flag to choose from staged files.
git ireset
Interactively choose one or more files to reset
git irestore
Interactively choose one or more files to restore
git iswitch
Interactively choose a branch to switch to. Provide the -r or --remotes flag to choose from remote branches.

Similar projects

There are some similar projects with more elaborate user interfaces:

Most of the time, I personally prefer the more minimal user interface that this project provides. Still, would I have started this project if I had known about these alternatives at the time?

🤷‍♂️

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-fzf-0.0.2.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

git_fzf-0.0.2-py3-none-any.whl (13.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page