Member-only story
Meet Forgit: A Tool for Using Git More Interactively
Make your Git command-line interactions seamless
Much of my daily development happens in the terminal, which includes interacting with git. However, using plain git commands is sometimes counterproductive. For example, if I want to see the changes of each commit in a branch history. I usually find myself using the Github web interface since I’m too lazy to read the git documentation for the nth time.
This post overviews forgit
, a lightweight and easy-to-use utility to interact with git more efficiently using fzf
. So if you are a terminal warrior, this post is definitely for you. But, for those who rely on an IDE to interact with git, don’t skip this post just yet. Forgit
is just an example of how fzf
can make using the command line much more manageable and is worth knowing.
If you’ve never heard of fzf
before, check out my other post that goes over the basics and even shows you how to create a utility that fits your needs using a few bash lines.
Setup
If you don’t have fzf
already, use this post’s instructions to install it. Then, install forgit
using one of the following methods. For other plugging systems, check out the documentation.
# For zplug (zsh plugin manager)
zplug 'wfxr/forgit'