Skip to content
GitTree

Video: Rebase unpublished work onto a new base

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

Replay one unpublished signup commit on an independently updated base. Preserve the old tip and verify new identity, new parent and unchanged intended signup content.

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 private divergence and rescue ref.
  5. Check which branch is actually current.
  6. Choose the intended new base.
  7. Keep unrelated replay options off.
  8. Wait for the actual replay result.
  9. The new parent means a new commit identity.
  10. Verify the full combined content.
  11. Preserve the old tip without publishing it.
  12. What is replayed?
  13. The selected commit range is recreated on the new base.
  14. What must be checked?
  15. Scope determines which commits and refs may move.
  16. S replayed on N: parent?
  17. The new commit S′ is parented by N.
  18. Change input: same hero line changed on both sides.
  19. Replay can stop; resolution and continuation are explicit.
  20. Can --abort undo an already finished rebase?
  21. Abort needs an active operation; completed recovery needs preserved evidence.
  22. What proves this result?
  23. Messages can stay the same while identities change.
  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