Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid keeping commit history on gh pages branch #46

Open
dianjuar opened this issue Nov 26, 2018 · 3 comments
Open

Avoid keeping commit history on gh pages branch #46

dianjuar opened this issue Nov 26, 2018 · 3 comments
Labels
feature this issue requests a new feature
Milestone

Comments

@dianjuar
Copy link
Contributor

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

@JohannesHoppe JohannesHoppe added the feature this issue requests a new feature label Dec 1, 2018
@JohannesHoppe
Copy link
Member

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.

@dianjuar dianjuar changed the title Avoid keep commit history on gh pages branch Avoid keeping commit history on gh pages branch Oct 22, 2019
@JohannesHoppe
Copy link
Member

Found this open PR:
tschaub/gh-pages#277

@JohannesHoppe
Copy link
Member

see #90, this can be only implemented if we fork gh-pages

@JohannesHoppe JohannesHoppe added this to the v2.0.0 milestone Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature this issue requests a new feature
Projects
None yet
Development

No branches or pull requests

2 participants