Locked · Module 4, lesson 5 of 6

Undoing things: revert, reset, rebase and the reflog

Undo a bad commit on a shared branch with revert, tidy a local branch with rebase, recover lost work with the reflog, and say which of them is safe after a push.

This lesson comes with the course. Enrolment is not open yet, and no payment is taken now.

Tell me when the course opens

The 7 lessons of module 1 are free: see the lessons of the course.

Branching strategies: trunk based, GitHub flow and release branchesNext: Mini build: a team-ready repository, and the Git interview questions