Update :Gbrowse docs
This commit is contained in:
parent
0e948d514c
commit
4d684256ba
@ -246,18 +246,17 @@ that are part of Git repositories).
|
|||||||
supported by installing rhubarb.vim, available at
|
supported by installing rhubarb.vim, available at
|
||||||
<https://github.com/tpope/vim-rhubarb>.
|
<https://github.com/tpope/vim-rhubarb>.
|
||||||
|
|
||||||
:Gbrowse {object} Like :Gbrowse, but for a given |fugitive-object|. A
|
:Gbrowse {object} Like :Gbrowse, but for a given |fugitive-object|.
|
||||||
useful value here is -, which ties the URL to the
|
|
||||||
latest commit rather than a volatile branch.
|
|
||||||
|
|
||||||
:Gbrowse [...]@{remote} Force using the given remote rather than the remote
|
:Gbrowse [...]@{remote} Force using the given remote rather than the remote
|
||||||
for the current branch. The remote is used to
|
for the current branch. The remote is used to
|
||||||
determine which GitHub repository to link to.
|
determine which upstream repository to link to.
|
||||||
|
|
||||||
:{range}Gbrowse [args] Appends an anchor to the URL that emphasizes the
|
:{range}Gbrowse [args] Appends an anchor to the URL that emphasizes the
|
||||||
selected lines. You almost certainly want to give a
|
selected lines. This also forces the URL to include a
|
||||||
"-" argument in this case to force the URL to include
|
commit rather than a branch name so it remains valid
|
||||||
an exact commit.
|
if the file changes. You can give a range of "0" to
|
||||||
|
force this behavior without including an anchor.
|
||||||
|
|
||||||
:[range]Gbrowse! [args] Like :Gbrowse, but put the URL on the clipboard rather
|
:[range]Gbrowse! [args] Like :Gbrowse, but put the URL on the clipboard rather
|
||||||
than opening it.
|
than opening it.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user