rev-parse --glob
[gitweb.git] / Documentation / git-log.txt
index 3d79de11ec36d0212610a4bec68789bdeec6c1fe..0b874e3d1ab41f6195dad7559ff4be60b1bcbd2a 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 --glob=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 --glob=remotes/*/master::
+
+       Shows all commits that are in local master but not in any remote
+       repository master branches.
+
 Discussion
 ----------