I have a static website using Jekyll hosted on GitHub. The problem is, I don't really need the master branch, as the only thing the repository contains is the website.
This way I have to git checkout gh-pages
, then git merge master
, and then do git push origin gh-pages
.
Is there any simple way, where I could get rid of the gh-pages
branch and push directly from master
?
The problem is, I don't really need the master branch, as the only thing the repository contains is the website.
Is there any simple way, where I could get rid of the gh-pages branch and push directly from master?
In your own words, you don't need master. Delete it. Work in gh-pages.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With