Possible Duplicate:
How to exclude file only from root folder in GIT
For a specific JavaScript project, I am using the TinyWeb HTTP Server for local testing (to work around a specific security limitation that applies to file URLs). That program requires I have an index.html
file in the root directory, but I do not want to commit that file to my Git repository.
How can I stop Git from bugging me about this "untracked file" on every commit? I do want to commit all index.html
files located in subdirectories.