I have a config file that contains settings of our project for my local machine, so i shouldn't push this config on remote, but should track changes of it's structure from remote (i guess i would merge that changes to my config when the time comes). So my options are:
- Add it to ignore, but it modifies a
.gitignore
file and i can't push it to remote because everyone should track changes. - Add it to exclude file. I did. And SourceTree still shows it as modified!
- Just let the file be modified. Sore on an eye and i risk accidentally commit it somewhere.
I really like 2nd solution, but it doesn't work!
- Q1: Am i wrong somewhere?
- Q2: Why SourceTree works that way?