-
-
Save singhmohancs/1b4294a85d62e52449871ab6c1918f34 to your computer and use it in GitHub Desktop.
delete all commits, empty repository
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
rm -r .git | |
git init | |
(create files) | |
git add -A | |
git commit -m 'Initial commit' | |
git remote add origin <url> | |
git push --force --set-upstream origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment