QuestionQ14

701.3 Source Code Management

What is the purpose of the git rebase command?

  • A Applying commits from one branch to another branch
  • B Showing all changes of a file in chronological order
  • C Removing a file from the Git history
  • D Reverting a merge that was accidentally created
  • E Changing the URL of a remote repository
Explanation

git rebase reapplies commits from a branch onto a different base, allowing that branch’s work to be applied on top of another branch’s commit history.

Community Discussion

No comments yet. Be the first to start the discussion!