Add native support for git clean with preview, interactive selection, and ignore controls

2 votes

GitKraken lacks first-class support for git clean. Please add a safe GUI to remove untracked/ignored files.

Use cases: reset before branch/rebase; purge build artifacts (e.g., UE5 Intermediate/Binaries); clean only ignored (-X) or include ignored (-x); include directories (-d); dry-run preview (-n).

UX: Command Palette/toolbar/context menu entry "Clean working directory". Modal options (Preview default): -n, -f, -d, -x, -X, exclude patterns, limit to selected paths. Show a preview list with checkboxes, and the equivalent CLI at the bottom. Respect clean.requireForce. Optional "Move to Trash".

Safety & platform: default to Preview, exclude submodules by default, honor .gitignore and .git/info/exclude, work on Windows/macOS/Linux, show progress.

Acceptance: preview matches git clean -n for any combo, working tree refreshes, path-scoped cleaning works, settings persist, no tracked/staged deletions.

Submitted for Review Suggested by: Yevhenii Upvoted: 17 Mar Comments: 0

Comments: 0