-
|
After executing git add . and git status, I am seeing that there are 1k+ staged changes in the source control. Not sure what is happening here but I can confirm that my source code is in the git add along with many other files. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hello @zbilly18 Note: if you don't have a node_modules on your project file, you might have it on a parent folder upside the hierarchy. Cheers. |
Beta Was this translation helpful? Give feedback.

Hello @zbilly18
Well this is because you are also adding the
node_modulesfolder, which contains hundreds if not thousands of dependencies for the project to run (if you have installed something with npm).So, is as easiest as go to
.gitignorefile and addnode_modules/to it, and now git will ignore it.Note: if you don't have a node_modules on your project file, you might have it on a parent folder upside the hierarchy.
Cheers.