Consistently use - when talking about git commands

This commit is contained in:
Tim Pope 2010-01-11 22:59:19 -05:00
parent 7593d30b46
commit 3a25d0aff6

View File

@ -48,7 +48,7 @@ that are part of Git repositories).
:Glcd [directory] |:lcd| relative to the repository. :Glcd [directory] |:lcd| relative to the repository.
*fugitive-:Gstatus* *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 window. Press - to stage or unstage the file on the
cursor line. Press C to invoke |:Gcommit|. cursor line. Press C to invoke |:Gcommit|.
@ -91,8 +91,8 @@ that are part of Git repositories).
*fugitive-:Gread* *fugitive-:Gread*
:Gread [revision] Empty the buffer and |:read| a |fugitive-revision|. :Gread [revision] Empty the buffer and |:read| a |fugitive-revision|.
When the argument is omitted, this is similar to git When the argument is omitted, this is similar to
checkout on a work tree file or git add on a stage git-checkout on a work tree file or git-add on a stage
file, but without writing anything to disk. file, but without writing anything to disk.
:{range}Gread [revision] :{range}Gread [revision]
@ -104,7 +104,7 @@ that are part of Git repositories).
*fugitive-:Gwrite* *fugitive-:Gwrite*
:Gwrite Write to the current file's path and stage the results. :Gwrite Write to the current file's path and stage the results.
When run in a work tree file, it is effectively git 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 great deal of effort is expended to behave sensibly
when the work tree or index version of the file is when the work tree or index version of the file is
open in another buffer. 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 :Gdiff [revision] Perform a |vimdiff| against the current file in the
given revision. With no argument, the version in the given revision. With no argument, the version in the
index is used (which means a three-way diff during a 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 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* *fugitive-:Gmove*
:Gmove {destination} Wrapper around git-mv that renames the buffer :Gmove {destination} Wrapper around git-mv that renames the buffer