[EVAL] Has git-lfs been considered for versioning node_modules #149
Unanswered
richardeschloss
asked this question in
General
Replies: 1 comment 4 replies
-
imo the reason it's generally not is because generated things ideologically/philosophically shouldn't be in version control, not because of the size. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I just came across git-lfs today, haven't really played with it. I realize I should have done homework before opening the discussion. Just wanted to jot down before I forget.
One of the neat things about git is that it is pretty darn fast when it comes to switching between branches (i.e., changing out file trees). While git can probably be used on node_modules, it's generally not because of the size of dependencies. Perhaps something like git-lfs would be the more appropriate solution for that? Something like that can maybe manage node_modules and a new "node_assets" or "node_artifacts"?
Then the idea of "installing" deps may shift more to "pulling" or "cloning" deps? Git is pretty good at resolving deltas between branches, so changing project deps might become noticably faster?
Beta Was this translation helpful? Give feedback.
All reactions