Git - Ignore node_modules folder everywhere

后端 未结 11 899

I have a project containing multiple other projects :

  • Main project
    • Mini project 1
    • Mini project 2

All containing <

11条回答
  •  半阙折子戏
    2020-11-28 00:51

    Add below line to your .gitignore

    */node_modules/*
    

    This will ignore all node_modules in your current directory as well as subdirectory.

提交回复
热议问题