I've forked a project on GIT, and started contributing. From what I've understood, that project has a pending pull request at the time I cloned the project, and later that commit of a 3rd person was refused by the project owner.
I've done my change (adding a single new file), and I wanted to push it to the master branch of the project. So I've pushed it to my github master branch, and then I wanted to make a pull request.
In case I'm not clear, I've done this:
- Clone the project
- add a file & commit
- push my changes to my github branch
- wanted to make a pull-request. (but didn't yet)
In the pull request, I've 2 commits ( but I've only made 1 ):
- Mine ( the most recent )
- The refused pull request of another person.
So I only want to make a pull request for my commit, and remove the previous commit or do something to avoid me having that problem every time.
Note1; I use the SmartGit client, but if the instructions are clear and well explained, I don't mind using the shell client too.
Note2; I've not created any branch yet.
Thanks !