Skip to content

Instantly share code, notes, and snippets.

@jhorsman
Created February 4, 2019 09:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhorsman/91a53cc6ffe43fc30726319cfd741337 to your computer and use it in GitHub Desktop.
Save jhorsman/91a53cc6ffe43fc30726319cfd741337 to your computer and use it in GitHub Desktop.
# see https://git-scm.com/docs/git-clean
git clean -dxf
# -d Remove untracked directories in addition to untracked files.
# -x Don’t use the standard ignore rules read from .gitignore...
# -f force, Git will not remove files unless -f is set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment