Skip to content

Commit

Permalink
docs/github.md: Useful Revsets: fix revset for @ ancestry without rem…
Browse files Browse the repository at this point in the history
…otes

This also fixes a mismatch between using ::@ to list ancestors
and calling them descendants.

Signed-off-by: Tim Janik <[email protected]>
  • Loading branch information
tim-janik committed Dec 16, 2024
1 parent d574259 commit 25117d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/github.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,10 @@ Log all remote bookmarks that you authored or committed to:
$ jj log -r 'remote_bookmarks() & (mine() | committer([email protected]))'
```

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
Expand Down

0 comments on commit 25117d7

Please sign in to comment.