Add git clean -f, -x options
This commit is contained in:

committed by
Agniva De Sarker

parent
18b9f11a29
commit
100320e3a6
@@ -13,3 +13,11 @@
|
|||||||
- Shows what files would be deleted without actually deleting them:
|
- Shows what files would be deleted without actually deleting them:
|
||||||
|
|
||||||
`git clean --dry-run`
|
`git clean --dry-run`
|
||||||
|
|
||||||
|
- Force delete files that are not tracked by git:
|
||||||
|
|
||||||
|
`git clean -f`
|
||||||
|
|
||||||
|
- Delete untracked files, including ignored files in `.gitignore` and `$GIT_DIR/info/exclude`:
|
||||||
|
|
||||||
|
`git clean -x`
|
||||||
|
Reference in New Issue
Block a user