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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file git-fzf-0.0.2.tar.gz.

File metadata

  • Download URL: git-fzf-0.0.2.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.6 Linux/5.15.0-52-generic

File hashes

Hashes for git-fzf-0.0.2.tar.gz
Algorithm Hash digest
SHA256 27292052afe584e19f4f054f448969542cfdd15991341c735e78a1d0ddad6839
MD5 9185643d3d97ef96ba46680022b152e5
BLAKE2b-256 ddb5ae50767d9817e8b0057bc776de47051df9c5c6eed4998ccc9cd56345c96c

See more details on using hashes here.

File details

Details for the file git_fzf-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: git_fzf-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.6 Linux/5.15.0-52-generic

File hashes

Hashes for git_fzf-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5e9a687fbb0486f2cefaec3eeda671b7b565be36723dc0b3daaecede41011f5c
MD5 085558d41b26ca01e11d876d23706030
BLAKE2b-256 fdc7a6777ae8d907114bc660546b26596cc4c30d8489daaa9d78c83c429e7dba

See more details on using hashes here.

Supported by

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