From 25117d7d01776b28c050d7df37ec94efaeb51449 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Mon, 16 Dec 2024 17:40:45 +0100 Subject: [PATCH] docs/github.md: Useful Revsets: fix revset for @ ancestry without remotes This also fixes a mismatch between using ::@ to list ancestors and calling them descendants. Signed-off-by: Tim Janik --- docs/github.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/github.md b/docs/github.md index 98334c11f..ef8bc3569 100644 --- a/docs/github.md +++ b/docs/github.md @@ -222,10 +222,10 @@ Log all remote bookmarks that you authored or committed to: $ jj log -r 'remote_bookmarks() & (mine() | committer(your@email.com))' ``` -Log all descendants of the current working copy that aren't on any remote: +Log all ancestors of the current working copy that aren't on any remote: ```shell -$ jj log -r '::@ & ~remote_bookmarks()' +$ jj log -r 'remote_bookmarks()..@' ``` ## Merge conflicts