Git - Ignore node_modules folder everywhere

后端 未结 11 812

I have a project containing multiple other projects :

  • Main project
    • Mini project 1
    • Mini project 2

All containing <

11条回答
  •  有刺的猬
    2020-11-28 00:51

    you can do it with SVN/Tortoise git as well.

    just right click on node_modules -> Tortoise git -> add to ignore list.

    This will generate .gitIgnore for you and you won't find node_modules folder in staging again.

提交回复
热议问题