DEV Community

Discussion on: How to deploy React App to GitHub Pages

Collapse
 
naivedh profile image
Naivedh

I have 2 branches master and gh-pages how to merge them?

Collapse
 
yuribenjamin profile image
Ibrahim Ragab

Check git merge or git squash or git rebase

Collapse
 
naivedh profile image
Naivedh

I also am unable to use routes except /

Thread Thread
 
yuribenjamin profile image
Ibrahim Ragab

Use / to describe your root directory after / name your pages for example /portfolio or /contact check react router for further info