summaryrefslogtreecommitdiff
path: root/query-doc.txt
blob: 8d4f58afaa70408f27c793b551e06679bd29a4a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)

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.