pkgctl-repo-clean(1)

pkgctl-repo-clean1

Remove untracked files from the working tree

Usage

pkgctl repo clean [OPTION] [PATH] ...

Overview

Cleans the working tree by recursively removing files that are not under version control, starting from the current directory.

Files unknown to Git as well as ignored files are removed. This can, for example, be useful to remove all build products.

Options

-i, --interactive

Show what would be done and clean files interactively

-n, --dry-run

Don’t actually remove anything, just show what would be done

-h, --help

Show a help text

Homepage

<https://gitlab.archlinux.org/archlinux/devtools>

Please report bugs and feature requests in the issue tracker. Please do your best to provide a reproducible test case for bugs.

From devtools 1:1.5.3-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.