Files
tldr/pages/common/git-clean.md
2017-04-21 00:33:36 +05:30

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`