Git Labs· Module 4 — Correct Mistakes and Recover WorkLab 24 of 36
Recover a Deleted Branch with the Reflog
A hasty clean-up deleted an unpushed branch with two days of work. Find its commits in the reflog, recreate the branch, and publish it before anything else goes wrong.
- Intermediate
- 20 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
- Restore the Correct Git Layer20 min
- Compare Soft, Mixed and Hard Reset30 min
- Revert a Shared Production Change25 min
- Recover a Deleted Branch with the ReflogYou are here
- Clean an Unpublished Branch with Interactive Rebase30 min