Created
February 25, 2017 09:03
-
-
Save Kennyl/ede80d85cb94cc449ea42a4324583076 to your computer and use it in GitHub Desktop.
Clean git like nothing again.
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 checkout --orphan tmp | |
git add . | |
git commit -m "init" | |
git push --force --set-upstream origin master | |
git branch -d master | |
git branch -m tmp master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment