PRs and granularity

I should arguably post this at Stack Exchange, but this community’s practices are those that I’m interested in following and I already started this thread. . .

OK, so I spent several hours today trying to do something like the above on 30 minutes of code changes in discourse-setup. I figured out that I can get Emacs to do what you’re doing with git add -p and managed to submit let discourse-setup install docker and make memory tests work.

If I were to do that again, would the recommended course be to do this?

  1. git checkout master
  • do the changes for the First Thing
  • git checkout -b first-thing
  • git push master first-thing
  • check checkout master
  • do changes for second thing
  • git checkout -b second-thing
  • git push master second-thing

And I suppose if I were clever, I could then merge first-thing and second-thing in my own fork if I wanted.