For my remote repository, I'm trying to ignore the web.config file of my Umbraco website. The .gitignore is in the root of my website, and the file to ignore, web.config is also in the root of my website.
so I added this line to my .gitignore file:
web.config
But everytime I push changes to my remote repository, the web.config file is also pushed to the remote repository.
What am I doing wrong?