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 <timj@gnu.org>
This commit is contained in:
Tim Janik 2024-12-16 17:40:45 +01:00
parent d57425964e
commit 25117d7d01

View file

@ -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