.gitignore 用于 Visual Studio 项目和解决方案
问题描述:
将 Git 与 Visual Studio 解决方案 (.sln
) 结合使用时,我应该在 .gitignore
中包含哪些文件>) 和项目?
Which files should I include in .gitignore
when using Git in conjunction with Visual Studio Solutions (.sln
) and Projects?
答
见官方GitHub的"有用.gitignore 模板".
See the official GitHub's "Collection of useful .gitignore templates".
可以在此处找到 Visual Studio 的 .gitignore
:
https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
The .gitignore
for Visual Studio can be found here:
https://github.com/github/gitignore/blob/master/VisualStudio.gitignore