Skip to content

Comment on Ask HN: Should you check in your dependencies in source control?

Comments

I do both.

On my more serious projects, I check in dependencies. My mantra here is "after a git clone and with the compiler, it must build without internet connection".

The size of my repos ranges from 5 MiB to 1800 MiB (though the later also stores a shitload of archival data for reasons I won't detail), the later one is still very manageable.

On my more "fun" repos I don't commit deps since I think them less important until it turns serious.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.