asp.net core 2.2, appsettings.json is updated to azure devops no matter if exists in gitignore

39 Views Asked by At

I have a asp.net core 2.2 solution connected to azure devops. I have an original version of the appsettings.json uploaded to azure devops, however, due to some configurations I don't want to upload every time I sync, I added it into .gitignore file, however it continues marking it as modified, as checked in, etc. and whenever I run sync. it continues uploading it to azure. I stage any changes before pushing into azure and manually I unstage this file, however, for some reason when sync. it uploads it, modifiyng the content into azure devops.

I really need help.

0

There are 0 best solutions below