So I accidentally removed some new, untracked files from the working tree using git clean -f. Is there a way to undo the clean or re-add those untracked files?
So I accidentally removed some new, untracked files from the working tree using git
Share
If your files were cleaned by Git, then they weren’t tracked by Git int he first place. Unfortunately you’re left with whatever other method you use to restore files from a backup.
This is not something that Git can help you with.