git checkout --orphan gh-pages
git reset --hard
git commit --allow-empty -m "Initializing gh-pages branch"
git push origin gh-pages
git checkout main
Created
February 12, 2024 01:11
-
-
Save matthewjberger/88e4b0c09a8fadbf795e4260a5fd5e21 to your computer and use it in GitHub Desktop.
Create an orphan gh-pages branch in git
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment