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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -