I have a DB configuration file that is tracked by git. Since the DB on my dev machine has different attributes the file is always marked as changed and I need to remember not to check it in.
How can I make git stop following changes for this file?
NOTE: This is not the same question as the suggested duplicate. I asked about git ignoring changes in file and not files. git assume-unchanged
is the right answer which is not mentioned in the duplicate.