In a complex project, git rebase -i offers an interactive mode to ________ commits.
- Delete
- Combine
- Revert
- Squash
The correct option is b. Combine. When you use git rebase -i, you can interactively choose what to do with each commit, including combining or modifying them. This is useful for cleaning up commit history in a complex project.
Loading...
Related Quiz
- How does Git's decentralized nature impact its scalability in large, distributed teams?
- To automate builds after every commit, a hook in Git known as git _______ can be used.
- When setting up a new remote repository, the command git remote add origin _______ is used.
- How can Git aliases improve a developer's workflow?
- For complex project histories, the git ________ command is essential to filter and modify historical commits during migration.