2021-08-04 15:21:22 +02:00
|
|
|
You can remove untracked files with `git-clean`.
|
|
|
|
|
2021-12-08 14:31:46 +01:00
|
|
|
```bash
|
2021-08-04 15:21:22 +02:00
|
|
|
# Show which files will be removed
|
|
|
|
git clean -nd
|
|
|
|
|
|
|
|
# remove the files
|
|
|
|
git clean -f
|
|
|
|
|
|
|
|
# remove interactively
|
|
|
|
git clean -i
|
|
|
|
```
|