mirror of
https://github.com/git-tips/tips
synced 2024-11-14 15:47:07 +00:00
alternative for cleaning untracked directory
This commit is contained in:
parent
5da7631c23
commit
f7ac6d21b6
2 changed files with 7 additions and 1 deletions
|
@ -317,5 +317,11 @@ git clean -f
|
||||||
git clean -f -d
|
git clean -f -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
__Alternatives:__
|
||||||
|
```sh
|
||||||
|
git clean -df
|
||||||
|
```
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end -->
|
<!-- @doxie.inject end -->
|
||||||
|
|
|
@ -181,6 +181,6 @@
|
||||||
{
|
{
|
||||||
"title": "Forcefully remove untracked directory",
|
"title": "Forcefully remove untracked directory",
|
||||||
"tip": "git clean -f -d",
|
"tip": "git clean -f -d",
|
||||||
"alternatives": "git clean -df"
|
"alternatives": ["git clean -df"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue