You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,18 @@ hunk show # review the latest commit
57
57
hunk show HEAD~1 # review an earlier commit
58
58
```
59
59
60
+
### Working with Jujutsu
61
+
62
+
Set `vcs = "jj"` in config to use the same `hunk diff [revset]` and `hunk show [revset]` commands with Jujutsu revsets instead. When `vcs` is unset, Hunk uses Git.
63
+
64
+
To use hunk as jj's pager, run `jj config edit --user` and update:
65
+
66
+
```toml
67
+
[ui]
68
+
pager = ["hunk", "pager"]
69
+
diff-formatter = ":git"
70
+
```
71
+
60
72
### Working with raw files and patches
61
73
62
74
```bash
@@ -112,13 +124,14 @@ Example:
112
124
```toml
113
125
theme = "graphite"# graphite, midnight, paper, ember
0 commit comments