So there is a repo of an organization on github which I have cloned to make contributions.
I made my first contribution (solving an issue) from tantheta01:master -> organization_name:master
which consisted of 3 commits
Now I want to contribute to another contribution. My first contribution has not been merged. If I use the same tantheta01:master
branch to commit and then open another PR, the old PR shall become updated of the new contents. AND the second PR would contain commits from the first PR. Is there any way to do this ?
Asked
Active
Viewed 660 times
0

torek
- 448,244
- 59
- 642
- 775
-
3create a branch for each contribution – Ôrel Dec 19 '21 at 17:56
-
1Pull Requests are per branch. You cannot cretae multiple PRs for same branch. However, if you push again to a branch which already has an opened PR then that PR gets updated with your newly pushed commits. Similar question exists [here](https://stackoverflow.com/a/8450535/2915738) – Asif Kamran Malick Dec 19 '21 at 17:58