How could I ignore bin and obj folders from git repository?

后端 未结 9 1288
死守一世寂寞
死守一世寂寞 2020-12-12 13:00

I want to ignore bin and obj folders from my git repository. As I\'ve found out, there is no easy way to do this in .gitignore. So, are there any other way? Using clean solu

9条回答
  •  死守一世寂寞
    2020-12-12 13:37

    If you are using Visual Studio then there is a simple way to do this.

    1. Open Team Explorer
    2. Click on settings
    3. Repository Settings
    4. Under Ignore & Attribute file section Click on Add beside Ignore file.

    It will create a default .gitignore file, which will ignore most of common folders & files that will used by framework/language.

提交回复
热议问题