Skip to content

Instantly share code, notes, and snippets.

@SebKay
Last active June 1, 2020 13:30
Show Gist options
  • Save SebKay/8af52bb0fe53a9b71d9f5beb926746a4 to your computer and use it in GitHub Desktop.
Save SebKay/8af52bb0fe53a9b71d9f5beb926746a4 to your computer and use it in GitHub Desktop.
Remove an files not tracked by Git
# -f Forces "git clean" to run
# -x Removes .gitignore files if present
# -d Makes it run recursively in directories
git clean -xffd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment