Skip to content

Commit 7ff9bdc

Browse files
fieldingclaude
andcommitted
Add screenshots to README
Replace code block examples with actual terminal screenshots showing compact vs human output for status, diff, and log. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 37019d0 commit 7ff9bdc

4 files changed

Lines changed: 16 additions & 25 deletions

File tree

.github/assets/human-diff.png

180 KB
Loading

.github/assets/human-log.png

333 KB
Loading
103 KB
Loading

README.md

Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -107,32 +107,23 @@ As commands and flags get optimized with native libgit2 implementations (priorit
107107

108108
## Compact vs Human
109109

110-
```
111-
$ nit status
112-
M src/main.zig
113-
M src/cli.zig
114-
?? TODO.md
115-
116-
$ nit status -H
117-
unstaged:
118-
modified: src/main.zig
119-
modified: src/cli.zig
120-
121-
untracked:
122-
TODO.md
123-
```
110+
### Status
124111

125-
```
126-
$ nit log -n 3
127-
a1b2c3d Fix null pointer in parser
128-
e4f5g6h Add user authentication
129-
9i0j1k2 Initial commit
130-
131-
$ nit log -n 3 -H
132-
a1b2c3d 2026-03-14 Fix null pointer in parser
133-
e4f5g6h 2026-03-13 Add user authentication
134-
9i0j1k2 2026-03-12 Initial commit
135-
```
112+
Compact (default) shows porcelain flags. Human (`-H`) groups by staged/unstaged/untracked with colored labels.
113+
114+
![status comparison](.github/assets/status-comparison.png)
115+
116+
### Diff
117+
118+
Human mode shows a stat summary, bold filenames, colored additions/deletions, and dimmed context lines.
119+
120+
![human diff](.github/assets/human-diff.png)
121+
122+
### Log
123+
124+
Human mode adds dates and colored hashes.
125+
126+
![human log](.github/assets/human-log.png)
136127

137128
## How It Works
138129

0 commit comments

Comments
 (0)