How does the Git rebase operation affect the commit history?
- It combines commits
- It discards commits
- It creates new commits
- It modifies existing commits
Git rebase is used to integrate changes from one branch to another. It works by applying each commit from the source branch onto the target branch. This can result in a cleaner, more linear commit history as compared to git merge.
Loading...
Related Quiz
- What is a common challenge when managing large files in Git?
- Which Git command is used to view changes made by each commit?
- How does Git enable better handling of changes and revisions in large-scale projects?
- How does Git facilitate the practice of Infrastructure as Code (IaC) in DevOps?
- In the context of a large project, how does Git facilitate code reviews and quality assurance?