mirror of https://github.com/CrimsonTome/tldr.git
Add git clean -f, -x options
parent
18b9f11a29
commit
100320e3a6
|
@ -13,3 +13,11 @@
|
|||
- Shows what files would be deleted without actually deleting them:
|
||||
|
||||
`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`
|
||||
|
|
Loading…
Reference in New Issue