1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 22:42:08 +02:00
tldr/pages/common/git-clean.md
2017-04-21 00:33:36 +05:30

15 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`