Skip to content

fix: don't git clean automatically #885

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

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Conversation

gadenbuie
Copy link
Member

Removes a dangerous and destructive git clean -xfd from the doc update script.

This should really be fixed by switching to a pkgdown site, but in the meantime the update script shouldn't delete files without confirmation. The biggest problem is that git clean -xfd will remove directories that are gitignored, so nothing is safe really.

@gadenbuie gadenbuie requested a review from schloerke October 19, 2023 20:20
@gadenbuie gadenbuie merged commit 18f09fd into main Oct 23, 2023
@gadenbuie gadenbuie deleted the fix/dont-git-clean-unasked branch October 23, 2023 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant