title: How do I tell Git to ignore a specific filename only in the repository's top level?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3637660/how-to-exclude-file-only-from-root-folder-in-git">How to exclude file only from root folder in GIT</a>  </p>
  </blockquote>
  
  
  
  <p>For a specific JavaScript project, I am using the <a href="http://www.ritlabs.com/en/products/tinyweb/" rel="noreferrer">TinyWeb HTTP Server</a> for local testing (to work around a specific security limitation that applies to file URLs). That program requires I have an <code>index.html</code> file in the root directory, but I do not want to commit that file to my Git repository.</p>
  
  <p>How can I stop Git from bugging me about this "untracked file" on every commit? I do want to commit all <code>index.html</code> files located in subdirectories.</p>