I work between desktop and laptop and use a git repo as my way of keeping them in sync. However, sometimes it's been a while between working on a project on one of those devices and so I get into the situation where Wappler updates put lots of new files into the project and I can't do a pull until I'm dealt with those. So I want to delete the new files, do the pull and then let Wappler recreate the files again.
But, sometimes there are lots of these files and they are scattered all over the place so it takes ages finding and deleting them all.
I would have thought that clicking on the trash icon do 'Discard all changes' would remove them but it doesn't.
So, what's the best way to delete them all in one go.
Hmm, bizarrely that has removed about a third of them but certainly not all. No idea why it's only picked those though.
I did git clean -n and it didn't look like the whole list. Then I did git clean -f and it deleted those files and confirmed it was barely a third of them. I'm more than slightly confused!
UPDATE
The remaining files are whole directories so that explains why they were left.
git clean -nd previews them and then git clean -fd removes them so all is now sorted.