Consistently use - when talking about git commands
This commit is contained in:
parent
7593d30b46
commit
3a25d0aff6
@ -48,7 +48,7 @@ that are part of Git repositories).
|
||||
:Glcd [directory] |:lcd| relative to the repository.
|
||||
|
||||
*fugitive-:Gstatus*
|
||||
:Gstatus Bring up the output of git status in the preview
|
||||
:Gstatus Bring up the output of git-status in the preview
|
||||
window. Press - to stage or unstage the file on the
|
||||
cursor line. Press C to invoke |:Gcommit|.
|
||||
|
||||
@ -91,8 +91,8 @@ that are part of Git repositories).
|
||||
|
||||
*fugitive-:Gread*
|
||||
:Gread [revision] Empty the buffer and |:read| a |fugitive-revision|.
|
||||
When the argument is omitted, this is similar to git
|
||||
checkout on a work tree file or git add on a stage
|
||||
When the argument is omitted, this is similar to
|
||||
git-checkout on a work tree file or git-add on a stage
|
||||
file, but without writing anything to disk.
|
||||
|
||||
:{range}Gread [revision]
|
||||
@ -104,7 +104,7 @@ that are part of Git repositories).
|
||||
*fugitive-:Gwrite*
|
||||
:Gwrite Write to the current file's path and stage the results.
|
||||
When run in a work tree file, it is effectively git
|
||||
add. Elsewhere, it is effectively git checkout. A
|
||||
add. Elsewhere, it is effectively git-checkout. A
|
||||
great deal of effort is expended to behave sensibly
|
||||
when the work tree or index version of the file is
|
||||
open in another buffer.
|
||||
@ -118,9 +118,9 @@ that are part of Git repositories).
|
||||
:Gdiff [revision] Perform a |vimdiff| against the current file in the
|
||||
given revision. With no argument, the version in the
|
||||
index is used (which means a three-way diff during a
|
||||
merge conflict, making it a git mergetool
|
||||
merge conflict, making it a git-mergetool
|
||||
alternative). Use |do| and |dp| and write to the
|
||||
index file to simulate git add -p.
|
||||
index file to simulate "git add --patch".
|
||||
|
||||
*fugitive-:Gmove*
|
||||
:Gmove {destination} Wrapper around git-mv that renames the buffer
|
||||
|
Loading…
Reference in New Issue
Block a user