Your PR has 5 commits: 'wip', 'wip2', 'fix tests', 'lint', 'finally'. Reviewers want one clean commit.
Interactive rebase, mark 1 as pick and the next 4 as squash (or s/f).
Medium · 3 steps · +500 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 rebase -i HEAD~5git log --onelinegit push --force-with-lease`pick` the first, `squash` (or `fixup`) the rest. Edit the final message.