diff options
Diffstat (limited to 'query-doc.txt')
| -rw-r--r-- | query-doc.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/query-doc.txt b/query-doc.txt index 7c0cfdc..8d4f58a 100644 --- a/query-doc.txt +++ b/query-doc.txt @@ -1,12 +1,14 @@ -vr query — inspect the read/note log (one line per entry, oldest first). +vr query — inspect this jj repo's read/note sidecar (oldest first). vr query everything vr query -n 20 last 20 entries vr query -op note only notes (or: read, grep) vr query -file accounts_db entries touching a file path substring vr query -session fa7cb1bf one session (id substring is enough) - vr query -log FILE read another log (default ./vr-log.jsonl, or $VR_LOG) -Filters combine. The log itself is plain JSON lines — jq works on it too. +Filters combine. The sidecar content is JSON lines and can also be read with: + jj file show -r 'exactly(vr_log, 1)' -- vr-log.jsonl +Its append history is: + jj evolog -r 'exactly(vr_log, 1)' --reversed -p --git Note rows show the session-local id first and the log-wide id used by `vr note -reply N` and vrsite permalinks in brackets. |
