Created
June 15, 2018 14:48
-
-
Save nara-l/df270541514018223e54e74eaf1679dd to your computer and use it in GitHub Desktop.
How to clean untracked git files
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
| # trying to commit without needing to add all those extra files? just clean them | |
| git clean -n -d # to see the files and folders to be deleted first before applying command below | |
| git clean -f -d # -f force clean and -d cleaning directories. git just deletes. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment