Skip to content

Instantly share code, notes, and snippets.

@Orlandster
Last active October 17, 2018 13:05
Show Gist options
  • Save Orlandster/33498d9fa2d6cae9812143eaa437c5a0 to your computer and use it in GitHub Desktop.
Save Orlandster/33498d9fa2d6cae9812143eaa437c5a0 to your computer and use it in GitHub Desktop.
Git remove untracked files
// check what will be affected
git clean -n
// remove untracked files
git clean -d
// remove untracked files and folders
git clean -f -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment