Documentation: improve description of --glob=pattern and friends
[gitweb.git] / Documentation / git-log.txt
index 3d79de11ec36d0212610a4bec68789bdeec6c1fe..0acd526303ec4cce8e8c0d1cbefb31411b52acde 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
 ----------