[{"data":1,"prerenderedAt":122},["ShallowReactive",2],{"term-s\u002Fsubmodule":3,"related-s\u002Fsubmodule":109},{"id":4,"title":5,"acronym":6,"body":7,"category":48,"description":92,"difficulty":93,"extension":94,"letter":95,"meta":96,"navigation":97,"path":98,"related":99,"seo":103,"sitemap":104,"stem":107,"subcategory":6,"__hash__":108},"terms\u002Fterms\u002Fs\u002Fsubmodule.md","Submodule",null,{"type":8,"value":9,"toc":86},"minimark",[10,15,19,23,26,30,75,79,82],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"A submodule is a repo inside another repo. It's like embedding someone else's project inside yours. The tricky part is that they update independently — you have to manually sync them. Most developers find submodules confusing and painful.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"Git submodules allow you to embed one repository inside another as a subdirectory. The parent repo stores a reference to a specific commit in the submodule. They're useful for shared libraries but notoriously complex to manage.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","git submodule add https:\u002F\u002Fgithub.com\u002Fuser\u002Flib.git\ngit submodule update --init --recursive\n","bash","",[38,39,40,59],"code",{"__ignoreMap":36},[41,42,45,49,53,56],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sBMFI","git",[41,50,52],{"class":51},"sfazB"," submodule",[41,54,55],{"class":51}," add",[41,57,58],{"class":51}," https:\u002F\u002Fgithub.com\u002Fuser\u002Flib.git\n",[41,60,62,64,66,69,72],{"class":43,"line":61},2,[41,63,48],{"class":47},[41,65,52],{"class":51},[41,67,68],{"class":51}," update",[41,70,71],{"class":51}," --init",[41,73,74],{"class":51}," --recursive\n",[11,76,78],{"id":77},"when-youll-hear-this","When You'll Hear This",[16,80,81],{},"\"Initialize the submodules after cloning.\" \u002F \"Submodules are a pain — consider using a package manager instead.\"",[83,84,85],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":61,"depth":61,"links":87},[88,89,90,91],{"id":13,"depth":61,"text":14},{"id":21,"depth":61,"text":22},{"id":28,"depth":61,"text":29},{"id":77,"depth":61,"text":78},"A submodule is a repo inside another repo. It's like embedding someone else's project inside yours.","advanced","md","s",{},true,"\u002Fterms\u002Fs\u002Fsubmodule",[100,101,102],"Repository","Clone","Package Manager",{"title":5,"description":92},{"changefreq":105,"priority":106},"weekly",0.7,"terms\u002Fs\u002Fsubmodule","FPQAeAtA7_tyQYBOqsa2gDgPds5Rw-yfzhnxCFzD6CQ",[110,114,118],{"title":101,"path":111,"acronym":6,"category":48,"difficulty":112,"description":113},"\u002Fterms\u002Fc\u002Fclone","beginner","Clone is like downloading someone's entire project to your computer — all the files, all the history, everything.",{"title":102,"path":115,"acronym":6,"category":116,"difficulty":112,"description":117},"\u002Fterms\u002Fp\u002Fpackage-manager","general","A package manager is the app store for your code — it downloads libraries, manages versions, and makes sure everything plays nice together. It's like a gro",{"title":100,"path":119,"acronym":120,"category":48,"difficulty":112,"description":121},"\u002Fterms\u002Fr\u002Frepository","Repo","A repository (repo) is a folder that Git is watching. It contains all your project files plus the entire history of every change ever made.",1776518316175]