Next: , Previous: , Up: Logging   [Contents][Index]


5.3.2 Log Buffer

L     (magit-log-refresh-popup)

This prefix command shows the following suffix commands along with the appropriate infix arguments in a popup buffer. See Refreshing Logs.

q     (magit-log-bury-buffer)

Bury the current buffer or the revision buffer in the same frame. Like magit-mode-bury-buffer (which see) but with a negative prefix argument instead bury the revision buffer, provided it is displayed in the current frame.

C-c C-b     (magit-go-backward)

Move backward in current buffer’s history.

C-c C-f     (magit-go-forward)

Move forward in current buffer’s history.

C-c C-n     (magit-log-move-to-parent)

Move to a parent of the current commit. By default, this is the first parent, but a numeric prefix can be used to specify another parent.

SPC     (magit-diff-show-or-scroll-up)

Update the commit or diff buffer for the thing at point.

Either show the commit or stash at point in the appropriate buffer, or if that buffer is already being displayed in the current frame and contains information about that commit or stash, then instead scroll the buffer up. If there is no commit or stash at point, then prompt for a commit.

DEL     (magit-diff-show-or-scroll-down)

Update the commit or diff buffer for the thing at point.

Either show the commit or stash at point in the appropriate buffer, or if that buffer is already being displayed in the current frame and contains information about that commit or stash, then instead scroll the buffer down. If there is no commit or stash at point, then prompt for a commit.

=     (magit-log-toggle-commit-limit)

Toggle the number of commits the current log buffer is limited to. If the number of commits is currently limited, then remove that limit. Otherwise set it to 256.

+     (magit-log-double-commit-limit)

Double the number of commits the current log buffer is limited to.

-     (magit-log-half-commit-limit)

Half the number of commits the current log buffer is limited to.

User Option: magit-log-auto-more

Insert more log entries automatically when moving past the last entry. Only considered when moving past the last entry with magit-goto-*-section commands.

User Option: magit-log-show-refname-after-summary

Whether to show the refnames after the commit summaries. This is useful if you use really long branch names.

Magit displays references in logs a bit differently from how Git does it.

Local branches are blue and remote branches are green. Of course that depends on the used theme, as do the colors used for other types of references. The current branch has a box around it, as do remote branches that are their respective remote’s HEAD branch.

If a local branch and its push-target point at the same commit, then their names are combined to preserve space and to make that relationship visible. For example:

origin/feature
[green][blue-]

instead of

feature origin/feature
[blue-] [green-------]

Also note that while the popup features the --show-signature argument, that won’t actually be used when enabled, because Magit defaults to use just one line per commit. Instead the commit colorized to indicate the validity of the signed commit object, using the faces named magit-signature-* (which see).

For a description of magit-log-margin see Log Margin.


Next: , Previous: , Up: Logging   [Contents][Index]