Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vim-fugitive
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
tpope
vim-fugitive
Commits
d8ce8d1d
Commit
d8ce8d1d
authored
Dec 1, 2015
by
Tim Pope
Browse files
Options
Downloads
Patches
Plain Diff
Document transition to rhubarb.vim
parent
23faeadc
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/fugitive.txt
+26
-20
26 additions, 20 deletions
doc/fugitive.txt
with
26 additions
and
20 deletions
doc/fugitive.txt
+
26
−
20
View file @
d8ce8d1d
...
@@ -220,32 +220,38 @@ that are part of Git repositories).
...
@@ -220,32 +220,38 @@ that are part of Git repositories).
:[range]Gblame [flags] Run git-blame on the given range.
:[range]Gblame [flags] Run git-blame on the given range.
*fugitive-:Gbrowse*
*fugitive-:Gbrowse*
:[range]Gbrowse If the remote for the current branch is on GitHub,
:Gbrowse Open the current file, blob, tree, commit, or tag
open the current file, blob, tree, commit, or tag
in your browser at the upstream hosting provider
(with git-web--browse) on GitHub. Otherwise, open the
indicated by the "origin" remote. If a range is
current file, blob, tree, commit, or tag in
given, it is appropriately appended to the URL as an
git-instaweb (if you have issues, verify you can run
anchor.
"git instaweb" from a terminal). If a range is given,
it is appropriately appended to the URL as an anchor.
Upstream providers can be added by installing an
appropriate Vim plugin. For example, GitHub can be
To use with GitHub FI, point g:fugitive_github_domains
supported by installing rhubarb.vim, available at
at a list of domains:
<https://github.com/tpope/vim-rhubarb>. (Native
>
support for GitHub is currently included, but that is
let g:fugitive_github_domains = ['https://example.com']
slated to be removed.)
~
:[range]Gbrowse! Like :Gbrowse, but put the URL on the clipboard rather
If no upstream support is available, a local instance
than opening it.
of git-instaweb will be started and used instead.
:[range]Gbrowse {revision}
:Gbrowse {revision} Like :Gbrowse, but for a given |fugitive-revision|. A
Like :Gbrowse, but for a given |fugitive-revision|. A
useful value here is -, which ties the URL to the
useful value here is -, which ties the URL to the
latest commit rather than a volatile branch.
latest commit rather than a volatile branch.
:[range]Gbrowse [...]@{remote}
:Gbrowse [...]@{remote} Force using the given remote rather than the 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 GitHub repository to link to.
:{range}Gbrowse [args] Appends an anchor to the URL that emphasizes the
selected lines. You almost certainly want to give a
"-" argument in this case to force the URL to include
an exact revision.
:[range]Gbrowse! [args] Like :Gbrowse, but put the URL on the clipboard rather
than opening it.
MAPPINGS *fugitive-mappings*
MAPPINGS *fugitive-mappings*
These maps are available everywhere.
These maps are available everywhere.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment