![]() |
Apparent Pull Request / Branch Mistake - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: Apparent Pull Request / Branch Mistake (/showthread.php?tid=372523) |
Apparent Pull Request / Branch Mistake - DeltaMikeCharlie - 2023-03-15 I have just made some more changes and done another commit. I expected to see a new pull request when I got to GitHub, however, it appears that the new changes were added to the previous pull request. I am inexperienced with Git and I assumed that 2 commits from the same branch would result in 2 pull requests. Should I go back into the text of the original pull request and update the description to cover the second batch of changes? Should I only do 1 commit per branch in the future? Apologies for any inconvenience. RE: Apparent Pull Request / Branch Mistake - Fuzzard - 2023-03-15 Generally keep it to one change per PR, unless the multiple commits are deeply dependant. In this case, i would look to split the second commit off into another branch, as its possibly a bug fix (note i havent actually looked at it to confirm such), but in the event of a bugfix, there is a possibility to backport to the last release branch (ie Nexus currently). Whereas features or changes in behaviour (your first commit) wont be allowed as a backport. RE: Apparent Pull Request / Branch Mistake - DeltaMikeCharlie - 2023-03-15 Hopefully I have managed to fix it now.
|