Bird
0
0

You want to reorder commits and also edit the commit message of the third commit in the last 4 commits. Which interactive rebase action should you use for the third commit?

hard📝 Workflow Q8 of 15
Git - Rebasing
You want to reorder commits and also edit the commit message of the third commit in the last 4 commits. Which interactive rebase action should you use for the third commit?
Asquash
Bpick
Creword
Ddrop
Step-by-Step Solution
Solution:
  1. Step 1: Understand rebase actions

    reword lets you change the commit message without changing the content.
  2. Step 2: Identify correct action for editing message

    Use reword on the commit whose message you want to edit.
  3. Final Answer:

    reword -> Option C
  4. Quick Check:

    reword = edit commit message during rebase [OK]
Quick Trick: Use reword to edit commit messages in interactive rebase [OK]
Common Mistakes:
  • Using pick which keeps message unchanged
  • Using squash which merges commits
  • Using drop which deletes commits

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Git Quizzes