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

Compare Soft, Mixed and Hard Reset

Three disposable clones, three practice commits each. Squash with --soft, uncommit with --mixed, discard with --hard — and see that the reflog still remembers.

  • 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 ResetYou are here
  3. Revert a Shared Production Change25 min
  4. Recover a Deleted Branch with the Reflog20 min
  5. Clean an Unpublished Branch with Interactive Rebase30 min