Vim Fugitive Cheatsheet

This is currently a work in progress as I’m putting this together as I learn to use fugitive.

Use :Git or :G along with any git command. Such as :G push -u origin main.

:Git or :G without a command will bring up a summary window showing all staged or unstaged files.

g? from the summary window will bring up a list of commands that can be used within the summary window.

Use s from the summary window to stage the file under the cursor.

Use cc while in the summary window to create a commit for the currently staged file(s).