Recursively include Nuget DLLs via Gitignore

后端 未结 2 970
梦毁少年i
梦毁少年i 2021-02-08 13:44

I am using GIT with a new ASP.NET MVC project. I have a line in my gitignore file to ignore dlls

*.dll

I would like to add something along the

2条回答
  •  青春惊慌失措
    2021-02-08 14:16

    Leave your top level gitignore alone by keeping *.dll in it.

    Create another .gitignore file in the packages directory and put !*.dll in it.

提交回复
热议问题