Skip to content

Instantly share code, notes, and snippets.

View 700software's full-sized avatar
7️⃣

Bryan Field 700software

7️⃣
View GitHub Profile
@700software
700software / gist:598c5f3067e2bae65eea684137702821
Last active May 14, 2026 16:49
Reproducible initial empty commit
git init -b main && \
GIT_AUTHOR_NAME="Initial empty commit" GIT_AUTHOR_EMAIL=initial@example.com \
GIT_COMMITTER_NAME="Initial empty commit" GIT_COMMITTER_EMAIL=initial@example.com \
GIT_AUTHOR_DATE=2000-01-01T12:00:00+0000 GIT_COMMITTER_DATE=2000-01-01T12:00:00+0000 \
git commit-tree -m "Initial empty commit" 4b825dc642cb6eb9a060e54bf8d69288fbee4904 | \
xargs git update-ref -m "Initial empty commit" refs/heads/main