title: A few questions about adding gitignore after multiple commits
body: <p>I have created my <code>gitignore</code> file and have added it to my local repo. I understand that I have to do <code>git rm --cached</code>. So here are my questions.</p>
  
  <ul>
  <li>When in the process should I do <code>git rm --cached</code>? before <code>git add --all .</code> or <code>git commit -m "comments"</code> or <code>git push origin master</code>? Also before or after committing (or pushing) my <code>gitignore</code>?</li>
  <li>Is <code>git rm --cached</code> the whole command? or must I always qualify it with, for example, <code>git rm --cached /bin/*</code>?</li>
  <li>my mac computer gave me a warning about naming my file <code>.gitignore</code> vs <code>android.gitignore</code>. If I simply do <code>.gitignore</code> the file will be hidden. Does github care which one I do?</li>
  </ul>