SpinTheMic
Pro

Interview practice question

Re-merging a feature after reverting it

Cloud & DevOps · Git and Version Control · Intermediate

A feature branch was merged and then reverted because of a bug. After fixing the bug on the branch, merging again only brings in the fix, not the whole feature. Why?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Git thinks original commits already merged.
  • Revert commit undid changes.
  • Revert the revert, then merge fix.
  • Or recreate commits.
  • Understand history semantics.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics