Provide :Grevert and :Gmerge mappings

This commit is contained in:
Tim Pope
2019-08-03 21:35:46 -04:00
parent 0f08b0cbbb
commit bd70719f54
2 changed files with 22 additions and 4 deletions

View File

@@ -426,10 +426,19 @@ cS Create a `squash!` commit for the commit under the
cA Create a `squash!` commit for the commit under the
cursor and edit the message.
cr Revert the commit under the cursor.
c<Space> Populate command line with ":Gcommit ".
*fugitive_cr*
crc Revert the commit under the cursor.
crn Revert the commit under the cursor in the index and
work tree, but do not actually commit the changes.
cr<Space> Populate command line with ":Grevert ".
*fugitive_cm*
cm<Space> Populate command line with ":Gmerge ".
c? Show this help.
*fugitive_cb*