Loading tutorials
git submodule add: what it does, what it writes to disk, which options matter, and which errors you will meet.6 min read.gitmodules file maps its path to a URL. You should also be comfortable with git clone, remotes, and the idea that a commit hash identifies exactly one snap8 min read.gitmodules maps paths to URLs. Submodule commands work, but their defaults surprise people. A few configuration settings remove most of the surpris7 min read.gitmodules file and the gitlink entry record. A gitlink is the special tree entry in the parent repository that pins a submodule to one commit hash. If those ideas are unfamiliar, review the earlier chapters on the6 min readgit subtree records. The commands for adding and pulling, and for pushing and splitting, get their own chapters. Here you build the mental model those commands rely on.7 min readgit subtree add to bring in another project, and git subtree pull to take in its newer work. It assumes you can read git log --graph output and resolve a merge conflict. It also assumes you know the subtree model from the p7 min readgit submodule add, `git submodule update --init --recursiv8 min read