Last active
July 3, 2024 18:28
-
-
Save nicktoumpelis/9877404 to your computer and use it in GitHub Desktop.
Create an empty initial commit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Tnx ๐
๐๐ผ
thank you
๐๐ผ
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
๐๐ผ