Skip to content

Add just clean for ignored build artifacts - #37

Merged
tony merged 1 commit into
masterfrom
just-clean
Nov 12, 2026
Merged

tony merged 1 commit into
masterfrom
just-clean

Conversation

@tony

@tony tony commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

just clean removes gitignored build output and leaves untracked files in place. .env and .env.* stay.

just clean-dry prints that set. just nuke also removes untracked files, after a confirmation. git clean -x does not consult .gitignore, so nuke names .env in -e instead of negating it.

why: .gitignore already names rebuildable output. A shell rm
list drifts across Windows and Unix, and git clean -x keeps
only positive -e patterns, so a negated .env exclude still
deletes .env.

what:
- Add clean and clean-dry with git clean -fdX, keeping .env
- Add nuke with git clean -fdx and a confirm prompt, naming
  .env so it stays
@tony
tony merged commit f0a2e9d into master Nov 12, 2026
24 checks passed
@tony
tony deployed to docs-preview-cleanup November 12, 2026 23:52 — with GitHub Actions Active

This branch was successfully deployed

1 active and 1 inactive deployments
docs-preview-cleanup — 0b2adc6b Deployed Nov 12, 2026 by tony via cleanup #77
docs-preview — 0b2adc6b Deployed Oct 17, 2026 by tony via publish (pr-37, pr, false, docs-preview, true) / publish #159
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