Created
December 30, 2020 14:26
-
-
Save alesvaupotic/5857edaf474756185924d73ebb4e0e91 to your computer and use it in GitHub Desktop.
Lose all commit history of a project
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 init | |
git remote add origin git@github.com:USERNAME/REPOSITORY.git | |
git add * | |
git commit -am 'Init' | |
git push -f origin HEAD:main | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment