Last active
October 17, 2018 13:05
-
-
Save Orlandster/33498d9fa2d6cae9812143eaa437c5a0 to your computer and use it in GitHub Desktop.
Git remove untracked files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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