I found git clean -xdf
. And I like it, because it cleans up what may IDE created.
Today I was asked by a coworker: Can git clean
move files to recycle bin instead of deleting the files?
I checked, git clean
deleted some files in a test repository, but didn't move the files to trash.
I know there is option -n
for dryrun.
Edit:
I'm on Windows 10 - that's why I have a recycle bin :).
And im using Git from PowerShell with PoSh-Git extension (to get auto completion).