I need to work on file.txt locally and in Git, with different content. I want Git not to tell me that there have been changes to that file.
file.txt
Is this possible
If modifying the .gitignore file is not an option (because it is checked into git itself), consider using .git/info/exclude.
.gitignore
.git/info/exclude