# see https://git-scm.com/docs/git-clean git clean -dxf # -d Remove untracked directories in addition to untracked files. # -x Don’t use the standard ignore rules read from .gitignore... # -f force, Git will not remove files unless -f is set