Skip to content
GitTree

Video: Merge branches with diverged history

The video plays in YouTube’s player, in privacy-enhanced mode.

Combine the published workflow-card feature with main's independent accessibility and footer changes. Verify a real two-parent merge and the complete resulting page.

Read the full lesson

The article has every step and command from the video, the practice exercise and the questions.

Go to the lesson

Video transcript

The narration of the video, cue by cue.

  1. Start from the exact checkpoint.
  2. Name the branch, index and working version.
  3. Prepare only the isolated course copy.
  4. Prepare the independent accessibility change.
  5. Record only that intended main change.
  6. Inspect the actual diverged ancestry.
  7. Merge the feature into current main.
  8. Choose the recording mode deliberately.
  9. Wait for the real merge result.
  10. Verify both parents and combined content.
  11. Keep this merge local until reviewed.
  12. What makes a merge commit distinct?
  13. Ancestry is defined by parent IDs, not message or color.
  14. Which evidence is needed?
  15. A structurally valid merge can still have wrong content.
  16. What happens to F1's identity?
  17. Merge connects existing commits rather than replaying them.
  18. Choose ff-only on this diverged input: result?
  19. Neither tip is the required descendant for a simple fast-forward.
  20. No textual conflict means tests unnecessary?
  21. Semantic correctness needs content review and tests.
  22. What is the final scope?
  23. No push is part of this local merge.
  24. Verify the actual result, not just a message.
  25. Predict the changed input before acting.
  26. Preserve useful work before recovery.
  27. Prove the checkpoint before continuing.
  28. Keep the verified result for the next step.

All tutorials