DEV Community

Discussion on: How to deploy React App to GitHub Pages

Collapse
 
pniebrzydowski profile image
pniebrzydowski

In case anyone else runs into the same issue that I had. When running the build command for the first time, I got error:

fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.

Creating a new branch gh-pages manually before running the deploy fixed this.