How To: Commit to someone else's pull request
I’m currently experiencing the pleasure of collaborating on an open source project with someone else on GitHub and I love doing it. There was an issue with runtime performance and we looked into it, discussed ideas and coded up several prototypic solutions (I admit mine were rather dirty). At one point I reviewed someone else’s pull request and wanted to add something to it. Sure, I can use the online editing features of GitHub but that doesn’t really tie in well with my code-writing workflow, not to mention that all the autocompletion, linting and inline compiler errors won’t be present. So I looked for a way to push a commit to someone else’s pull request that I could prepare locally. I searched and found a good solution which I’m gonna write up here as reference for future me. ...