On Tue, Mar 12, 2024 at 11:24:17PM -0400, Bhargav Vishnu wrote: > - A large amount of similar duplicate codes are written by authors in > different personal projects like utilities. These must be made reusable. > Eg: Code on a gist is copied into every repository, why not create and use > the gist itself as it also has versioning? You are re-inventing the normal dependency packaging of the languages, poorly. We already have language specific ways (npm, pip, cargo, go get...) for almost all ecosystems. They have version controlled and checksumed dependency resolution and are actually aware what's needed (binary vs source distribution, additional deps etc). I don't see why you'd want your version control system to do it, rather than using what already exists. "Code on a gist is copied into every repository" is what we call a library, so package it up and pull it down with your favorite dependency management tool during the project build.