title: Ignore OSX hidden "._" files from git repo
body: <p>I <code>git add .</code> everything to my repo, excluding files and directories (its a Rails 4+ one). I see a bunch of hidden files starting with a dot (some including an underscore) and I need to ignore them so they won't get pushed every time. I am working from an OSX Yosemite macbook. How do I do that? Is it simple regEx <code>^._*</code> ?</p>