title: Using .gitignore to ignore files inside of git status
body: <p>When I run <code>git status</code>, I have unrelated files that I do not want watched.</p>
  
  <p>For example:</p>
  
  <blockquote>
    <p>M .gitignore<br>
    M as3-remote/.project<br>
    M perspective/swc/.project<br>
    M perspective/swf/.project<br>
    M scheduled-translator-framework/src/main/java/Importer.java<br>
    D scheduled-translator-framework/src/main/java/TranslatorTest.java<br>
    M ui-mecogis/swf/.project</p>
  </blockquote>
  
  <p>I have already tried editing my .gitignore so that includes .projects
  My .gitignore looks like:</p>
  
  <blockquote>
    <p>.classpath<br>
    .project<br>
    .settings<br>
    *.log<br>
    nbactions.xml<br>
    target<br>
    .DS_Store</p>
  </blockquote>
  
  <p>I only want to track and watch changes inside the scheduled-translator-framework, and I only want to focus on .java files in that specific folder. I don't want anything else to show up under tracked or untracked that is unrelated. How would I do this?</p>