Including symlinks, etc.
git reset –hard
git clean -fxd
for submodules (use git reset and clean as THE_COMMAND):
git submodule foreach git THE_COMMAND
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.