What is the main purpose of using Git Submodules?
- Code sharing between repositories
- Version control for individual files
- Merging branches
- Creating lightweight branches
Git Submodules are used for integrating external repositories as a subdirectory within a main repository. The main purpose is code sharing between repositories, allowing you to include external projects while keeping them isolated.
Loading...
Related Quiz
- What is the purpose of the git commit command?
- During the migration to Git, a team encounters issues with large binary files slowing down the repository. What Git feature or strategy can address this issue?
- GitLab’s CI/CD pipelines can be configured through a file named _________.
- To save changes in Git, first stage them using git _______, then commit using git commit.
- In resolving conflicts, the _______ command can be used to revert files to their state before the merge conflict.