DEV Community

Discussion on: How to deploy React App to GitHub Pages

Collapse
 
yuribenjamin profile image
Ibrahim Ragab

Just git push

Collapse
 
helenemartin profile image
Hélène Martin

thanks but when ? I created a main page before a gh-pages what do I do? Do I create a gh-page on command line? sorry if it is a stupid question

Thread Thread
 
yuribenjamin profile image
Ibrahim Ragab

I don't get it!
But delete all branches remote and local
You now has a master branch commit your work and deploy it again

Thread Thread
 
helenemartin profile image
Hélène Martin

Sorry forget about it