I forked/cloned apache whirr on Github, and began work on the trunk branch. During the work, I pulled two commits from origin/trunk. When I generate a patch by running a git diff first_feature_commit HEAD, I get a patch that has these two commits in it. The patch was therefore rejected when I submitted it.
How do I create a patch without the commits that I pulled from origin/trunk?
1) Add a remote to the repository you are interested in patching. Probably something like
2) Fetch the remote. Just get all of them probably:
3) Make your patch!
HTH! @eldondev