Search MCQs, Papers, Topics
What Is The Difference Between `Git Rebase` And `Git Merge`?
git merge combines branches while preserving all commit history, creating a merge commit. git rebase rewrites commits by replaying them on top of another branch, creating a linear history without merge commits.
🚀 Found an error or have a suggestion?
Your feedback helps us keep our MCQs accurate and up-to-date.
Related MCQs
Related MCQs where subject and topic are same as this mcq
Question 1: Which of the following best describes Git?
Git is a distributed version control system used to track code changes.
Question 2: Which Git command is used to send local commits to a remote repository?
git push uploads local committed changes to a remote repository.
Question 3: Which of the following are benefits of version control systems?
Version control helps teams collaborate, track changes, and preserve revision history.
Question 4: What is the purpose of branching in Git?
Branching allows developers to work on new features or fixes without affecting the main code immediately.
Question 5: Which Git command is used to download a repository from a remote source for the first time?
git clone is used to copy an existing remote repository to a local machine.