]> source.dussan.org Git - gitignore.git/commit
Update VisualStudio.gitignore 4493/head
authorMatt Kotsenas <Matt.Kotsenas@gmail.com>
Thu, 15 Aug 2024 00:27:36 +0000 (17:27 -0700)
committerGitHub <noreply@github.com>
Thu, 15 Aug 2024 00:27:36 +0000 (17:27 -0700)
commit71eddf97b6d7ccae140c075aab37aa4cc5a13b7f
tree88082a9c0bd425b04eaa17736f3e84812bea5a18
parent8779ee73af62c669e7ca371aaab8399d87127693
Update VisualStudio.gitignore

`Directory.Build.rsp` is a [documented file][1] that allows setting default arguments to command line builds. However, our .gitignore template ignores _all_ `*.rsp` files. which causes confusion:

1. Devs write an .rsp file and if they aren't being attentive forget to commit it
2. Adding it to git requires `git add --force`, which some devs mistake for a destructive or not-recommended action

Thus, explicitly allow the `Directory.Build.rsp` file.

[1]: https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-response-files?view=vs-2022#directorybuildrsp
VisualStudio.gitignore