angular-electron icon indicating copy to clipboard operation
angular-electron copied to clipboard

Node modules inside app directory is not gitignored

Open nikhilnxvverma1 opened this issue 5 years ago • 3 comments

I dont know if I am point out something obvious or just sounding stupid but .gitignore does not have an entry for /app/node_modules. I noticed this after merging my migrated branch with master and immediately getting 5000 new files showing up in my source control tracker of VS code

nikhilnxvverma1 avatar Aug 29 '21 13:08 nikhilnxvverma1

https://github.com/maximegris/angular-electron/blob/4b44d8bd53f19c6657c96a5558d6a187432d4e54/.gitignore#L15 and run git rm --cached app/node_modules

leandrofreirex avatar Sep 03 '21 06:09 leandrofreirex

https://github.com/maximegris/angular-electron/blob/4b44d8bd53f19c6657c96a5558d6a187432d4e54/.gitignore#L15

and run git rm --cached app/node_modules

The existing line only captures node_modules in the parent directory. There is a node_module inside the app/ directory too. I am not quite sure what running git rm --cached app/node_modules does. Does it specifically make an entry in .gitignore

nikhilnxvverma1 avatar Sep 06 '21 11:09 nikhilnxvverma1

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 21 '21 20:09 stale[bot]