MediumScenarioGit
Your feature branch is 200 commits behind main with a messy history. What is your approach?
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.
PreviousA teammate force-pushed over main and commits vanished. How do you recover?Next You need to hotfix production while feature work is half-done in the working tree. What do you do?