Skip to content

Instantly share code, notes, and snippets.

View asmekal's full-sized avatar

Andrey Zharkov asmekal

View GitHub Profile
@nicktoumpelis
nicktoumpelis / git-make-empty-root.sh
Last active July 3, 2024 18:28
Create an empty initial commit
git checkout --orphan temp_master
git rm -rf .
git commit --allow-empty -m 'Make initial root commit'
git rebase --onto temp_master --root master
git branch -D temp_master