.gitignore and Visual Studio project: Ignore bin/Debug directory but not bin/Release directory

后端 未结 9 927
一个人的身影
一个人的身影 2021-01-30 03:51

I have a C# Visual Studio project in a git repository. I want to ignore the contents bin/Debug directory but not the contents of the bin/Release\' dire

9条回答
  •  猫巷女王i
    2021-01-30 04:40

    I know it is an old question, but I've decided to share my approach which excludes exactly bin/Debug, bin/Release etc.

    */**/bin/Debug
    */**/bin/Release
    */**/obj/Debug
    */**/obj/Release
    

提交回复
热议问题