- Fork the se-edu/samplerepo-pr-practice. Clone it into your computer.
- Create a branch named
add-foo
in your clone. Add a commit which adds/modifies some new text. - Push the branch to the fork.
- Create a Pull Request from the
add-foo
branch in your fork to themaster
branch of the same fork (i.e.your-user-name/samplerepo-pr-practice
, notse-edu/samplerepo-pr-practice
), as described in https://help.github.com/articles/creating-a-pull-request/ - Go back to your local repo, and create a new branch
add-bar
off themaster
branch. It is very important that you switch back tomaster
before you create the new branch. If not, the rew branch will be created off the current branchadd-foo
. - Add a commit to
add-bar
that modifies the same part of the repo modified in the previous PR. Push to the fork and create a new PR similar to before.