You rebased onto main without fetching first. Two teammate commits that landed on your branch yesterday are gone.
Reflog has every commit your branch tip touched in the last 90 days.
Hard · 3 steps · +750 XP
This scenario walks through 3 steps, in order:
Try the terminal first — you learn more by doing. When you want to check yourself, here is the command for each step.
git refloggit branch rescue HEAD@{4}git cherry-pick rescue~1 rescueReflog → branch from missing tip → cherry-pick or merge back.