DEV Community

Discussion on: How to deploy React App to GitHub Pages

Collapse
 
helenemartin profile image
Hélène Martin

Hello Ibrahim, thanks for the tutorial.. a question.. I pushed my commit to a master branch before pushing to a remote.. How do I get on further? Do I have to do git checkout -b gh-pages? please let me know. Thanks in advance.. warm regards :)

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