-
-
Save emedinaa/76653074950ac0d810a5 to your computer and use it in GitHub Desktop.
Github - Clear commits history
This file contains hidden or 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 rm -rf .git | |
git init | |
git remote add origin https://github.com/heiswayi/myproject.git | |
git remote -v | |
git add --all | |
git commit -am "Initial commit" | |
git push -f origin master | |
//Referencia | |
http://heiswayi.github.io/github-delete-commits-history.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment