Created
June 19, 2016 16:07
-
-
Save crunchywelch/6e5b4c719d8d10779e31ad3ac8fc4e2f to your computer and use it in GitHub Desktop.
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 latest_branch | |
git add -A | |
git commit -am "commit message" | |
git branch -D master | |
git branch -m master | |
git push -f origin master | |
source: http://stackoverflow.com/questions/13716658/how-to-delete-all-commit-history-in-github |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment