Reputation: 267
I've used other revision control systems before but have little experience with git and github.
I wanted to contribute to a project, so I forked it on github, fetched a local copy of my fork, edited it, committed it, pushed the change back to my github fork, and opened a pull request for the original upstream author to look at. That all seems fine. The author said he'll get around to using it in a bit.
But now I want to address a second issue of the project with a second pull request. But everything I commit and push ends up being appended to that first pull request. What I want to do is make a new second pull request for the subsequent changes, while the first pull request is still pending and not merged in to the upstream yet.
What steps do I need to run to do that? I'm using git-bash.
Upvotes: 25
Views: 5859
Reputation: 4115
You have to think in your developments as separated features that aren't related. Your second feature should use a new branch/fork which should be created from the original/currentVersion project, like the first time.
Upvotes: 4