Skip to content

Instantly share code, notes, and snippets.

@nicktoumpelis
Last active July 3, 2024 18:28
Show Gist options
  • Save nicktoumpelis/9877404 to your computer and use it in GitHub Desktop.
Save nicktoumpelis/9877404 to your computer and use it in GitHub Desktop.
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
@nicktoumpelis
Copy link
Author

Tnx 👍

👍🏼

@nicktoumpelis
Copy link
Author

thank you

👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment