These are environment-specific files, so they belong in your ~/.gitignore, not the project-specific one.