Skip to content

Instantly share code, notes, and snippets.

@freemo
Last active September 20, 2019 08:49
Show Gist options
  • Save freemo/d74e607eafb059aabed5a6edcfd62368 to your computer and use it in GitHub Desktop.
Save freemo/d74e607eafb059aabed5a6edcfd62368 to your computer and use it in GitHub Desktop.
Remove ignored files in git
git clean -ndX #list files that would be removed
git clean -fdX #Actually remove them
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment