Git - git add in a gitignore directory
- by Steve
If my .gitignore file has tmp\ in it and I do a git add file.test from tmp, Git adds file.test to the repository. If file.test never changes, than this is as good as a one time add to the repository, right? Say for static files that I want to be in version control. You want the file in an initial clone and that's it.
I assume file.test doesn't get tracked, so if there are updates, Git doesn't see it as modified?