Created
July 5, 2022 08:05
-
-
Save davidcsejtei/b87f483318b65d84a093bce0d59376fd to your computer and use it in GitHub Desktop.
Remove untraced git files and folders from local repo
This file contains hidden or 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
# shows what would be removed, but not removing anything | |
git clean -d -n | |
# removes files and folders | |
git clean -d -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment