I am trying to learn to build a web application using .net core, mvc x and csharp. I am using visual studio code in OS X.
Here are the files and folders inside the freshly generated project directory:
Controllers
Dockerfile
Program.cs
Properties
README.md
Startup.cs
Views
appsettings.json
bower.json
bundleconfig.json
project.json
web.config
wwwroot
I think the following should be excluded and what else?
答案 0 :(得分:1)
我并不特别排除.vscode
。与他人分享您的任务和调试配置文件很方便
这是我的.gitignore
node_modules/
**/bin/
**/obj/
**/*.VC.db* #vscode local database files
.vs/ #your friends who use visual studio
project.lock.json
TestResults/
.idea.* #ever heard of Jetbrains Rider?
**/appsettings.production.json
npm-debug.*