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

286 B

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