title: .gitignore a folder content
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/343646/ignoring-directories-in-git-repos-on-windows">Ignoring directories in Git repos on Windows</a>  </p>
  </blockquote>
  
  
  
  <p>My web app has the following directory layout:</p>
  
  <pre><code>myapp/
      .gitignore
      .git/
          ...
  
      static/
              mytest.txt
              fgs.ico
      ledgerware/
          static/
              mytest.txt
              fgs.ico
          ...
  </code></pre>
  
  <p>I'd like to edit existing myapp/.gitignore file so that when git push it ignores all files inside myapp/ledgerware/static folder, but NOT myapp/static folder. Can someone help me with this?</p>