GitHub: How to send one pull request per separate commit?

I forked a project. I worked on it for a bit.
I now have ten different commits, each of which is independent to the other commits.
I’d like to send each individual commit as a separate pull request, to let the maintainer of the upstream choose which ones he/she wants.

I can’t find an easy way to do this.
The “easiest” I can find is to create ten separate branches, and cherry-pick each of the ten separate commits into those branches, and then send a pull request from each.
That’s … not sane!
(See for example how to divide one pull request into two different pull request on github )

  • Commits are left behind when branch is deleted after merge
  • How to deny branching from master
  • Make unable to branch merge
  • Github workflow: Working in multiple branches that use the same files
  • How to version resources that are shared across projects
  • Change Git Parent Branch
  • The underlying git request-pull function supports this workflow, so is the problem here that GitHub just doesn’t have a good interface to this? Am I doomed to create ten branches?

  • Why do excluded files keep reappearing in my git sparse checkout?
  • Git will not stage a tracked file
  • Full file not displaying on GitHub?
  • Dropbox like service with git — no with rsync and inotify
  • Using maven-release-plugin with GitHub “You can't push to git://…”
  • Alias git stash poop to pop?
  • One Solution collect form web for “GitHub: How to send one pull request per separate commit?”

    GitHub’s Pull Requests are designed to be per-branch, not per-commit. This is deliberate:

    After your pull request is sent, any new commits pushed to your branch will automatically be added to the pull request. This is especially useful if you need to make more changes.

    If you want to send ten Pull Requests in GitHub you’ll have to do it using ten branches. The only exception would be if you wait for each Pull Request to be merged before submitting the next one.

    Git Baby is a git and github fan, let's start git clone.