Is it possible to delete all untracked files from my working directory? Let\'s say I added a bunch of files to my working directory, didn\'t add them via \'hg add\' and now want
This should do the trick:
hg status | grep '^\?' | sed 's/^\? //' | xargs rm -rf