Your app needs to pin a fork of `shared-ui` at an exact commit. Vendoring is messy — a submodule is correct.
Submodules pin a sub-repo at a specific commit. Tracked via .gitmodules.
Medium · 2 steps · +500 XP
This scenario walks through 2 steps, in order:
Try the terminal first — you learn more by doing. When you want to check yourself, here is the command for each step.
git submodule add git@github.com:you/shared-ui.git vendor/shared-uigit commit -m "deps: add shared-ui submodule"submodule add → commit. Clones need --recurse-submodules to populate.