angular-cli-ghpages
angular-cli-ghpages copied to clipboard
Avoid keeping commit history on gh pages branch
Hallo!
I have a question, is it possible to deploy on gh pages and avoid keeping the commit history with your package?
For example, Travis CI has the option keep-history when deploying on gh pages to configure this behavior and its default is false.
If you want to know my opinion is a good feature, because people usually don't want to keep track of their github pages deployment, that is just an environment to be able to serve your files, even they are almost not human readable if you are using webpack based projects .
I have an Angular project and if you see its gh-pages branch doesn't give any useful information
That's a great idea. We should add this feature one day. I usually push to a separate repo, this keeps the code-repo clean and I still have an archive of all builds.
Found this open PR: https://github.com/tschaub/gh-pages/pull/277
see #90, this can be only implemented if we fork gh-pages