13 lines · 254 B · Shell
RawDownload
#!/usr/bin/env bashset -eu -o pipefail git init -q 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