DEV Community

Waylon Walker
Waylon Walker

Posted on • Originally published at waylonwalker.com

fugitive verbose commit

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.

fugitive verbose commit example

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.

https://waylonwalker.com/til

Top comments (1)

Collapse
 
ug02fast profile image
Arthur Zhuk

This is awesome! Thanks for sharing.