Git Labs· Module 4 — Correct Mistakes and Recover WorkLab 25 of 36

Clean an Unpublished Branch with Interactive Rebase

Five noisy commits — wip, fix typo, oops — on a private branch. Rewrite them into one feature commit and one docs commit that a reviewer can read, without losing a byte.

  • Intermediate
  • 30 min
  • Not rated yet
  • Free

Free with a free account — it runs in your browser, nothing to install.

  • A real environment in your browser
  • You run the commands yourself
  • Your result is checked automatically

In this moduleModule 4 — Correct Mistakes and Recover Work

  1. Restore the Correct Git Layer20 min
  2. Compare Soft, Mixed and Hard Reset30 min
  3. Revert a Shared Production Change25 min
  4. Recover a Deleted Branch with the Reflog20 min
  5. Clean an Unpublished Branch with Interactive RebaseYou are here