Last active
August 29, 2015 14:00
-
-
Save ishmaelahmed/bd9f11bbf5ec98c8c8e8 to your computer and use it in GitHub Desktop.
So you want to add your untracked files to your .gitignore
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
#* | |
* This will list all the untracked files in your git | |
* repo and append them to .gitignore | |
*# | |
git ls-files --others --exclude-standard >> .gitignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment