mirror of
https://github.com/sahinakkaya/til.git
synced 2024-11-13 20:49:38 +01:00
13 lines
178 B
Markdown
13 lines
178 B
Markdown
|
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
|
||
|
```
|