When you want to combine histories of multiple repositories, a git __________ can be a suitable approach.
- merge
- fetch
- subtree
- clone
The correct option is subtree. Using the subtree merge strategy, you can merge a subtree of another repository into your project while maintaining the history of both repositories.
Loading...
Related Quiz
- When collaborating on a project, you typically push your changes to the _______ branch of the remote repository.
- The ________ command in Git is commonly used to propose changes in a collaborative project.
- During a database upgrade, a team needs to apply incremental schema changes stored in Git. What strategy should they follow to ensure a smooth transition?
- An essential lesson from Git failures is the need for robust ________ in enterprise environments.
- When merging branches, which Git command is used to create a new commit that represents the combined changes?