Created
November 10, 2019 15:07
-
-
Save gkthiruvathukal/4ab9c3beaf1f189fd96c8f1ef7e3b4a9 to your computer and use it in GitHub Desktop.
Create orphan branch blank HTML
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
#!/bin/bash | |
git checkout --orphan gh-pages | |
git rm -rf . | |
touch index.html | |
git add index.html | |
git commit -m 'initial gh-pages commit' | |
git push origin gh-pages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment