Skip to content

Instantly share code, notes, and snippets.

@karmadonov
Created September 25, 2012 11:14
Show Gist options
  • Save karmadonov/3781193 to your computer and use it in GitHub Desktop.
Save karmadonov/3781193 to your computer and use it in GitHub Desktop.
Removing files that are not under version control
git clean -df
Cleans the working tree by recursively removing files that are not under version control, starting from the current directory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment