# dry run incl. directories git clean -nd # force execution incl. directories (this cannot be undone!) git clean -fd