14 lines · 278 B · Shell
RawDownload
#!/bin/bashset -eu -o pipefail git init -qgit config commit.gpgsign false git checkout -q -b parentgit commit -q --allow-empty -m parent git checkout -q -b child parentgit commit -q --allow-empty -m child git commit-graph write --no-progress --reachablegit repack -adq

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t