Reputation: 65930
Let's say I have worked on task1
branch and after that, I have pushed it and then create a pull request. No merge conflicts with the master
.
Since the above PR has not been merged to the master
I have created a 2nd branch as task2
using task1
branch like so:
git checkout -b task2 task1
After that, I have pushed that branch like so:
git push --set-upstream origin task2
There are no merge conflicts on that branch too. So my question is do I need task1
branch PR
now? Since I have derived task2
branch from task1
hope I can close
the task1
's PR
no? Will I have to face any issues?
Upvotes: 0
Views: 26
Reputation: 104
Close the original PR and create a new PR from task 2, it will contain the combination of all changes. There won't be any effects other than that to your workflow.
Upvotes: 2