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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -