fugitive comes with a pretty sick way to commit files and see the diff at the same time with verbose commit. Opening the fugitive menu with :G
brings up your git status, you can stage files with s
, unstage them with u
, toggle them with -
, and toggle their diff with >
. Once you have staged your files for commit, you can commit with cc
, but today I found that you can commit verbose with cvc
. This brings up not only a commit widow with your git status shown, but the diff that you are about to commit.
example of a verbose commit in fugitive
This is the first of my effort to post more, create more, and increase my content pipeine with shorter content. I am posting all my tils can be found on my website.
Top comments (1)
This is awesome! Thanks for sharing.