Skip to content

Instantly share code, notes, and snippets.

@ishmaelahmed
ishmaelahmed / ignoreAllUntractedFile
Last active August 29, 2015 14:00
So you want to add your untracked files to your .gitignore
#*
* This will list all the untracked files in your git
* repo and append them to .gitignore
*#
git ls-files --others --exclude-standard >> .gitignore