git clean -f
git-clean - Remove untracked files from the working tree
git clean [-d] [-f] [-n] [-q] [-e <pattern>] [-x | -X] [--] <path>…
git-clean - Remove untracked files from the working tree
git clean [-d] [-f] [-n] [-q] [-e <pattern>] [-x | -X] [--] <path>…
And finaly a Symfony Developer find the right thing :)
ReplyDeletegit stash save is other option if temporary removal is required.
ReplyDelete