git - How to publish project on github-pages without committing the same files twice? -
i have several simple html/css/js projects (one page, no backend) , want publish on project github pages.
what best way it? possible without commiting same files twice master
, gh-pages
branches when want update something?
i commit gh-pages
think not ideal solution because have files not related site content , should in master, such readme. committed master
.
if you're not using github.io page, gh-pages branch right answer. leave readme in master , gh-pages website in latter.
Comments
Post a Comment