MediumScenarioGit
A teammate force-pushed over main and commits vanished. How do you recover?
This answer is part of Pro
66 of 758 DevOps / SRE answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousTwo developers changed the same lines and a merge conflict appears. How do you resolve it?Next Your feature branch is 200 commits behind main with a messy history. What is your approach?