mirror of
https://github.com/sahinakkaya/til.git
synced 2024-11-21 16:19:37 +01:00
TIL: Removing untracked files
This commit is contained in:
parent
d697d97027
commit
3aa7b9817e
12
git/removing-untracked-files.md
Normal file
12
git/removing-untracked-files.md
Normal file
@ -0,0 +1,12 @@
|
||||
You can remove untracked files with `git-clean`.
|
||||
|
||||
```
|
||||
# Show which files will be removed
|
||||
git clean -nd
|
||||
|
||||
# remove the files
|
||||
git clean -f
|
||||
|
||||
# remove interactively
|
||||
git clean -i
|
||||
```
|
Loading…
Reference in New Issue
Block a user