A Buildkite plugin for customizing the git clean flags. Helpful if you want to exlude directories from being removed between job runs on the same agent and pipeline.
The following will clean all files between running the job (including those in
.gitignore), except for the
steps: - commands: - npm install - npm test plugins: - git-clean#v0.0.1: flags: "-fdqx --exclude=node_modules"
The command line arguments to pass to
MIT (see LICENSE)