Home > OS >  how do i upload my React project to GitHub without including the node modules folder
how do i upload my React project to GitHub without including the node modules folder

Time:10-17

I want to upload my React Project to GitHub but I want to exclude the node modules folder, how do I do that ?

CodePudding user response:

Create a .gitignore file at the root of your project and add this line:

/node_modules

You can learn more here: enter image description here

  • Related