Commit 3f7a82df authored by Jonas Bernoulli's avatar Jonas Bernoulli

manual: document new commands

parent 7a3bb7f2
......@@ -3990,6 +3990,16 @@ Also see [[info:gitman#git-fetch]].
Fetch from another repository.
- Key: f o, magit-fetch-branch
Fetch a branch from a remote, both of which are read from the
minibuffer.
- Key: f r, magit-fetch-refspec
Fetch from a remote using an explicit refspec, both of which are
read from the minibuffer.
- Key: f a, magit-fetch-all
Fetch from all remotes.
......@@ -4071,6 +4081,15 @@ Also see [[info:gitman#git-push]].
Push an arbitrary branch or commit somewhere. Both the source and
the target are read in the minibuffer.
- Key: P r, magit-push-refspecs
Push one or multiple refspecs to a remote, both of which are read
in the minibuffer.
To use multiple refspecs, separate them with commas. Completion is
only available for the part before the colon, or when no colon is
used.
- Key: P m, magit-push-matching
Push all matching branches to another repository. If multiple
......@@ -4538,6 +4557,18 @@ few key bindings, but this might be extended in the future.
Unstage all changes to the file being visited in the current buffer.
- Key: C-c M-g c, magit-commit-popup
This prefix command shows suffix commands along with the appropriate
infix arguments in a popup buffer. See [[*Initiating a commit]].
- Key: C-c M-g d, magit-diff-buffer-file-popup
This prefix command shows the same suffix commands and infix
arguments in a popup buffer as ~magit-diff-popup~. But this variant
has to be called from a file-visiting buffer and the visited file
is automatically used in the popup to limit the diff to that file.
- Key: C-c M-g l, magit-log-buffer-file
This command shows the log for the file of blob that the current
......@@ -4554,11 +4585,6 @@ few key bindings, but this might be extended in the future.
Visit the previous blob which modified the current file.
- Key: C-c M-g c, magit-commit-popup
This prefix command shows suffix commands along with the appropriate
infix arguments in a popup buffer. See [[*Initiating a commit]].
** Minor mode for buffers visiting blobs
The ~magit-blob-mode~ enables certain Magit features in blob-visiting
......
......@@ -5553,6 +5553,20 @@ Fetch from the upstream of the current branch.
Fetch from another repository.
@kindex f o
@cindex magit-fetch-branch
@item @kbd{f o} @tie{}@tie{}@tie{}@tie{}(@code{magit-fetch-branch})
Fetch a branch from a remote, both of which are read from the
minibuffer.
@kindex f r
@cindex magit-fetch-refspec
@item @kbd{f r} @tie{}@tie{}@tie{}@tie{}(@code{magit-fetch-refspec})
Fetch from a remote using an explicit refspec, both of which are
read from the minibuffer.
@kindex f a
@cindex magit-fetch-all
@item @kbd{f a} @tie{}@tie{}@tie{}@tie{}(@code{magit-fetch-all})
......@@ -5686,6 +5700,17 @@ Push the current branch to a branch read in the minibuffer.
Push an arbitrary branch or commit somewhere. Both the source and
the target are read in the minibuffer.
@kindex P r
@cindex magit-push-refspecs
@item @kbd{P r} @tie{}@tie{}@tie{}@tie{}(@code{magit-push-refspecs})
Push one or multiple refspecs to a remote, both of which are read
in the minibuffer.
To use multiple refspecs, separate them with commas. Completion is
only available for the part before the colon, or when no colon is
used.
@kindex P m
@cindex magit-push-matching
@item @kbd{P m} @tie{}@tie{}@tie{}@tie{}(@code{magit-push-matching})
......@@ -6338,6 +6363,22 @@ Stage all changes to the file being visited in the current buffer.
Unstage all changes to the file being visited in the current buffer.
@kindex C-c M-g c
@cindex magit-commit-popup
@item @kbd{C-c M-g c} @tie{}@tie{}@tie{}@tie{}(@code{magit-commit-popup})
This prefix command shows suffix commands along with the appropriate
infix arguments in a popup buffer. See @ref{Initiating a commit,Initiating a commit}.
@kindex C-c M-g d
@cindex magit-diff-buffer-file-popup
@item @kbd{C-c M-g d} @tie{}@tie{}@tie{}@tie{}(@code{magit-diff-buffer-file-popup})
This prefix command shows the same suffix commands and infix
arguments in a popup buffer as @code{magit-diff-popup}. But this variant
has to be called from a file-visiting buffer and the visited file
is automatically used in the popup to limit the diff to that file.
@kindex C-c M-g l
@cindex magit-log-buffer-file
@item @kbd{C-c M-g l} @tie{}@tie{}@tie{}@tie{}(@code{magit-log-buffer-file})
......@@ -6358,13 +6399,6 @@ the appropriate infix arguments in a popup buffer. See @ref{Initiating a commit
@item @kbd{C-c M-g p} @tie{}@tie{}@tie{}@tie{}(@code{magit-blob-previous})
Visit the previous blob which modified the current file.
@kindex C-c M-g c
@cindex magit-commit-popup
@item @kbd{C-c M-g c} @tie{}@tie{}@tie{}@tie{}(@code{magit-commit-popup})
This prefix command shows suffix commands along with the appropriate
infix arguments in a popup buffer. See @ref{Initiating a commit,Initiating a commit}.
@end table
@node Minor mode for buffers visiting blobs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment