git-clean: add page
This commit is contained in:

committed by
Agniva De Sarker

parent
06b412caa1
commit
18b9f11a29
15
pages/common/git-clean.md
Normal file
15
pages/common/git-clean.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# 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`
|
Reference in New Issue
Block a user