You shipped v4.0 to production an hour ago. Customers are reporting checkout failures. main is public — you can't reset.
Revert (don't reset) public history. Tag the revert release as v4.0.1.
Hard · 3 steps · +700 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 revert -m 1 rp00002git tag -a v4.0.1 -m "Revert v4.0"git push --follow-tagsReset rewrites history — never on public branches. Revert is additive and safe.