Delete a Submodule

# Introduction <div class="alert alert-warning" role="alert"> <p>🧑‍💻 New to Git or LabEx? We recommend starting with the <b><a style="color: unset;text-decoration: underline;" href="https://labex.io/courses/quick-start-with-git" target="_blank">Quick Start with Git</a></b> course.</p> </div> In Git, a submodule is a repository that is included in another repository as a subdirectory. Submodules allow you to keep a separate repository for a specific project within a larger project. However, there may be situations where you need to delete a submodule from your repository. In this challenge, you will learn how to delete a submodule from a Git repository.

|60 : 00

Click the virtual machine below to start practicing