Update :Gstatus description in README

This commit is contained in:
Tim Pope 2019-08-03 20:55:33 -04:00
parent 14effe7bfb
commit 81eec879a4
2 changed files with 5 additions and 5 deletions

View File

@ -3,6 +3,10 @@
I'm not going to lie to you; fugitive.vim may very well be the best I'm not going to lie to you; fugitive.vim may very well be the best
Git wrapper of all time. Check out these features: Git wrapper of all time. Check out these features:
Bring up an enhanced version of `git status` with `:G` (also known as
`:Gstatus`). Press `g?` to bring up a list of mappings for numerous
operations including diffing, staging, committing, rebasing, and stashing.
View any blob, tree, commit, or tag in the repository with `:Gedit` (and View any blob, tree, commit, or tag in the repository with `:Gedit` (and
`:Gsplit`, `:Gvsplit`, `:Gtabedit`, ...). Edit a file in the index and `:Gsplit`, `:Gvsplit`, `:Gtabedit`, ...). Edit a file in the index and
write to it to stage the changes. Use `:Gdiffsplit` to bring up the staged write to it to stage the changes. Use `:Gdiffsplit` to bring up the staged
@ -14,10 +18,6 @@ Commit, merge, and rebase with `:Gcommit`, `:Gmerge`, and `:Grebase`, using
the current Vim instance to edit commit messages and the rebase todo list. the current Vim instance to edit commit messages and the rebase todo list.
Use `:Gpush`, `:Gfetch`, and `:Gpull` to send and retrieve upstream changes. Use `:Gpush`, `:Gfetch`, and `:Gpull` to send and retrieve upstream changes.
Bring up an enhanced version of `git status` with `:Gstatus`. Press `-` to
`add`/`reset` a file's changes, or `=` to expand an inline diff and operate on
individual hunks.
`:Gblame` brings up an interactive vertical split with `git blame` `:Gblame` brings up an interactive vertical split with `git blame`
output. Press enter on a line to edit the commit where the line output. Press enter on a line to edit the commit where the line
changed, or `o` to open it in a split. When you're done, use `:Gedit` changed, or `o` to open it in a split. When you're done, use `:Gedit`

View File

@ -245,7 +245,7 @@ operate on the file or hunk under the cursor are generally available in visual
mode to operate on multiple files or partial hunks. mode to operate on multiple files or partial hunks.
*fugitive-staging-mappings* *fugitive-staging-mappings*
Staging and resetting mappings ~ Staging/unstaging mappings ~
*fugitive_s* *fugitive_s*
s Stage (add) the file or hunk under the cursor. s Stage (add) the file or hunk under the cursor.