Code

Merge branch 'il/rev-glob'
[git.git] / Documentation / git-log.txt
index ff4063b02028f1f08c771560263715a6e958572e..0e39bb61eebfce5d1bff032c65bf04bb77f8ce62 100644 (file)
@@ -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
 ----------