]> asedeno.scripts.mit.edu Git - git.git/blobdiff - Documentation/git-log.txt
Merge branch 'doc-style/for-next' of git://repo.or.cz/git/trast
[git.git] / Documentation / git-log.txt
index 3d79de11ec36d0212610a4bec68789bdeec6c1fe..0e39bb61eebfce5d1bff032c65bf04bb77f8ce62 100644 (file)
@@ -14,9 +14,9 @@ DESCRIPTION
 -----------
 Shows the commit logs.
 
-The command takes options applicable to the 'git-rev-list'
+The command takes options applicable to the 'git rev-list'
 command to control what is shown and how, and options applicable to
-the 'git-diff-*' commands to control how the changes
+the 'git diff-*' commands to control how the changes
 each commit introduces are shown.
 
 
@@ -107,6 +107,17 @@ git log --follow builtin-rev-list.c::
        those commits that occurred before the file was given its
        present name.
 
+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::
+
+       Shows all commits that are in local master but not in any remote
+       repository master branches.
+
 Discussion
 ----------