launchSettings.json should not be ignored. That repository has since been updated to not ignore it: https://github.com/github/gitignore/pull/2705
Reasons for making this change:
Ignoring
launchSettings.jsondoes not make much sense. Now .NET CLI even considers this file when running withdotnet run, as you can read here.This settings will be useful if shared among project members, so it should be commited to the repo.
Links to documentation supporting these rule changes:
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-run?tabs=netcore2x