Reputation: 1296
Scenario:
In my launchSettings I specify "launchBrowser": true,
In my colleague's he prefers "launchBrowser": false,
I've tried adding the following to gitIgnore but they always appear as a "change" (in VS2019)
launchSettings.json
**/Properties/launchSettings.json
Upvotes: 3
Views: 2682
Reputation: 54
Kind of a crappy way to do it, but you can add the filename to .gitignore, cut the file to another directory, commit the .gitignore and file deletion change, then bring your settings file back.
Upvotes: 2