summaryrefslogtreecommitdiffstats
path: root/git-log.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2011-08-05 00:05:45 +0000
committerJunio C Hamano <junio@kernel.org>2011-08-05 00:05:45 +0000
commit16ebcd0bda2d592eefc14d4450d21986d961b181 (patch)
tree7102ad97bc23a41080b6675b67edb2c977386d58 /git-log.txt
parent86d8436428960039361c286795019ee5b9629272 (diff)
downloadgit-htmldocs-16ebcd0bda2d592eefc14d4450d21986d961b181.tar.gz
Autogenerated HTML docs for v1.7.6-404-g5d2fc
Diffstat (limited to 'git-log.txt')
-rw-r--r--git-log.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/git-log.txt b/git-log.txt
index 59f8be0be..6c934660d 100644
--- a/git-log.txt
+++ b/git-log.txt
@@ -88,45 +88,45 @@ include::diff-generate-patch.txt[]
Examples
--------
-git log --no-merges::
+`git log --no-merges`::
Show the whole commit history, but skip any merges
-git log v2.6.12.. include/scsi drivers/scsi::
+`git log v2.6.12.. include/scsi drivers/scsi`::
Show all commits since version 'v2.6.12' that changed any file
in the include/scsi or drivers/scsi subdirectories
-git log --since="2 weeks ago" \-- gitk::
+`git log --since="2 weeks ago" \-- gitk`::
Show the changes during the last two weeks to the file 'gitk'.
The "--" is necessary to avoid confusion with the *branch* named
'gitk'
-git log --name-status release..test::
+`git log --name-status release..test`::
Show the commits that are in the "test" branch but not yet
in the "release" branch, along with the list of paths
each commit modifies.
-git log --follow builtin-rev-list.c::
+`git log --follow builtin-rev-list.c`::
Shows the commits that changed builtin-rev-list.c, including
those commits that occurred before the file was given its
present name.
-git log --branches --not --remotes=origin::
+`git log --branches --not --remotes=origin`::
Shows all commits that are in any of local branches but not in
any of remote-tracking branches for 'origin' (what you have that
origin doesn't).
-git log master --not --remotes=*/master::
+`git log master --not --remotes=*/master`::
Shows all commits that are in local master but not in any remote
repository master branches.
-git log -p -m --first-parent::
+`git log -p -m --first-parent`::
Shows the history including change diffs, but only from the
"main branch" perspective, skipping commits that come from merged