I want to add an overrides.json
. That allows developers to make changes to a config object locally. I want it added to the repository in a default state but I want future changes on it to be ignored.
It seems like .gitignore
forces me to remove it from the branch before I can ignore it. I know about git update-index
but each developer would have to do this manually. To clarify, I do not want the file removed; I actually want the file to be added to repository but untracked after that.
I can't simply remove it because GET
requests to a missing file throws ugly error messages in the browser's javascript console.