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

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -