About 25,200 results
Open links in new tab
  1. Git - Submodules

    Submodules allow you to keep a Git repository as a subdirectory of another Git repository. This lets you clone another repository into your project and keep your commits separate. We’ll walk through …

  2. Git submodule | Atlassian

    A Git submodule is a record within a host Git repository that points to a specific commit in another external repository. Submodules are very static and only track specific commits.

  3. How to Use Git Submodules – Explained With Examples

    May 7, 2024 · To add a Git submodule, first ensure that you are within a Git repository, and you have the URL of the remote repository you want to add as a submodule. Then, use the git submodule add …

  4. Git Submodule - GeeksforGeeks

    Jul 23, 2025 · A Git submodule is a repository embedded inside another Git repository. The main repository, known as the superproject, tracks the submodule's state via a specific commit hash.

  5. Git Submodules - W3Schools

    Drag and drop the correct command to add a submodule to your project. Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, …

  6. How to Manage Project Dependencies with Git Submodules

    Learn how to use Git Submodules to include and manage external repositories within your project.

  7. Working with submodules - The GitHub Blog

    Feb 1, 2016 · Submodules allow you to include or embed one or more repositories as a sub-folder inside another repository. For many projects, submodules aren’t the best answer (more on this below), and …

  8. Working with Git submodules: A practical guide (with examples)

    Jan 27, 2024 · In this guide, we’ll explore the ins and outs of working with Git submodules and demonstrate practical usage with examples. To add a new submodule to your project, use the …

  9. Git Submodule Guide & Basic Commands to Get Started

    Sep 1, 2022 · A submodule acts as a subdirectory within the main project directory, but the code it contains does not have to be copied directly into the project. Instead, Git creates a reference to the …

  10. What Are Git Submodules, and How Do You Use Them?

    Jul 15, 2023 · When you add a submodule to a Git repository, you're essentially creating a link between the two repositories. The main repository and the submodule repository can be updated …