Created
February 12, 2023 14:31
-
-
Save khufkens/daba3bc828ceb64cdd465696895bcd57 to your computer and use it in GitHub Desktop.
Create clean gh-pages branch
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 gh-pages | |
# preview files to be deleted | |
git rm -rf --dry-run . | |
# actually delete the files | |
git rm -rf . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment