I have a git repository with a config.properties by default where some user data has to be written. When I change the content, add *.properties to my .gitignore and then go for git status, it keeps appearing as modified content and would upload it. What can I do?
My .gitignore is listed below. I also tried to add the last line of .gitignore to git global ignore but it doesn't help:
# .gitignore
/target/
/test-output/
.classpath
.project
*.properties