Mid Version Control

Merge or push this branch back to restore the lost history.?

Example:

If your teammate accidentally ran git push origin main --force, you can still

restore your lost commits using your local reflog if you had pulled the branch before the

overwrite.

More from Developer Essentials

All questions for this course