Initialize repo with branch name: grit init -b trunk vs git init -b trunk
repo: 100-file synthetic repository · 100 files · 50 commits · 60 refs
| tool | median | min | max | runs | peak memory |
|---|---|---|---|---|---|
| git | 2.2 ms | 1.6 ms | 2.8 ms | 20 | 6.5 MB |
| grit | 3.2 ms | 2.6 ms | 3.8 ms | 20 | 14 MB |
$ git init -b trunk
$ grit init -b trunk