I remember when first starting out I would commit every file and folder. Including node_modules. Those diff sizes were huge! And cloning in other computers would take quite some time.
Obviously learned since then. Nice write up.
And even if you delete node_modules and commit that, it will not remove these files from repo history.
node_modules
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I remember when first starting out I would commit every file and folder. Including node_modules. Those diff sizes were huge! And cloning in other computers would take quite some time.
Obviously learned since then. Nice write up.
And even if you delete
node_modulesand commit that, it will not remove these files from repo history.