16 lines
286 B
Markdown
16 lines
286 B
Markdown
# git clean
|
|
|
|
> Remove untracked files from the working tree.
|
|
|
|
- Delete files that are not tracked by git:
|
|
|
|
`git clean`
|
|
|
|
- Interactively delete files that are not tracked by git:
|
|
|
|
`git clean -i`
|
|
|
|
- Shows what files would be deleted without actually deleting them:
|
|
|
|
`git clean --dry-run`
|