My "senior developer" colleague just committed 300Mbs worth of node modules in addition to static files bundle. So not only I have to wait 20mins for the changeset to download on this god damned internet over barrels connection but also resolve merge conflicts on 100+ files. You think that was a mistake? Oh no I've asked him about it and it was intentional ...

  • 1
    git rm -rf --cached ./node_modules

    But in his defense: we also had to include a node module once at some point. That was prior before NPM kept historical versions. Back in those days (not more than a year ago), when a developer renamed our pulled his repo, you were pretty screwed. Leftpad anyone?

Add Comment