gitname / react-gh-pages

Deploying a React App (created using create-react-app) to GitHub Pages
6.6k stars 924 forks source link

Deleting history of past commits with GitHub pages #166

Closed muradkhateeb78 closed 7 months ago

muradkhateeb78 commented 1 year ago
muradkhateeb78 commented 1 year ago

Any comments, anybody?

gitname commented 1 year ago

Hi @muradkhateeb78, thanks for describing your situation in such an organized way and with so much detail.

or if there exists any other configuration/operational parameters that we can use to achieve this?

The gh-pages part of the deploy script defined in package.json is referring to a CLI utility provided as part of the gh-pages NPM package.

You can run the gh-pages command manually (i.e. not via npm run) and append the --help option to see the configuration options available. Then, assuming you find one that does what you want, you can edit the deploy script in package.json accordingly.

Docs: https://github.com/tschaub/gh-pages#command-line-utility

gitname commented 11 months ago

Hi @muradkhateeb78, did that answer your question? Are you still having issues?

gitname commented 7 months ago

No reply in 5 months. Closing.