title: How to ignore a file in a Git repository without .gitignore nor a global setting?
body: <p>I try to add a temporary-but-not-so-temporary file to a Git repository without adding it to the index. I don't want to add it to a .gitignore nor to a file like ~/.gitignore_global because it would just apply for a specific repository.</p>
  
  <p>Is there any way to ignore a file to be indexed in a specific repository without indexing the very fact that I want to ignore it ?</p>