A gloved hand lowers a small closed crate tied with a glowing green cord into a larger open crate.

Managing Git Submodules: A Quick Guide

Git submodules are a powerful feature that allows you to include and manage other repositories as part of your main repository. This is especially useful for projects where you want to use external repositories (e.g., a custom Neovim configuration) while keeping them independent. In this post, we’ll cover how to set up, update, and manage Git submodules with a practical example. What Are Git Submodules? A submodule in Git is a pointer to a specific commit of another repository. It allows you to include that repository as a part of your main project without merging its content directly into your repository. ...

January 3, 2025 · 3 min · 488 words · Kristoffer Risa