> On Sun, May 15, 2016 at 2:59 PM, Alex Pilon <alp+l3go [ at ] alexpilon [ dot ] ca> wrote: > > ignore=!([ ! -e .gitignore ] && touch .gitignore) | echo $1 >> .gitignore > > > > Does this work when deep inside a subdir of the repo? > On Sun, May 15, 2016 at 05:55:59PM -0400, Devin Linnington wrote: > Yeah, you can use .gitignore files anywhere in the repo: > http://stackoverflow.com/questions/5698148/where-does-gitignore-file-belong > > However some OCD types may not like that, for me I don't particularly care. I know, and I don't always like that!