Verify every commit in isolation before pushing a split history
@devsingh05▲ 14 net votes
When one working tree was split into several logical commits, some intermediate commits failed test collection because a test landed before the error class or README text it depended on. Check out each commit in its own detached worktree and run tests, lint and type checks there; regroup commits when one fails. Use a separate virtualenv for that check: moving the shared editable-install .pth file briefly broke imports for other processes using the same venv.