I’ve been through some recent agony screwing up pull requests. I figured before I shoot myself in the foot again, I would ask for some advice/help.
I have a particularly stale branch and pull request I’d like to at least make technically feasible to move forward. (I’m not as interested in whether or not it’s eventually accepted, though I think it’s worthwhile. At the moment, I’m more concerned with improving my Git/GitHub-fu.)
The branch is here:
GitHub tells me it’s 3 commits ahead and 5189 commits behind python:main. That is — I think — going to present problems.
The corresponding PR is here:
My inclination is to simply abandon both the branch and the PR and start over. I think if I abandon my changes, I can probably catch up my branch to python:main
and go from there. Is that the right thing to do with such a stale branch and PR? TBH, at this point I probably need to rewrite the change to Python/ceval.c
anyway, so discarding my three small commits would be no huge deal. That file has been a real moving target for a few years. I have simply not had the time or — to be honest — the desire to keep tracking it through all its various changes.