Assuming you have develop as the main branch hash and array will merge into, you can git checkout -b array develop which will make a a branch based on develop where you can cherry-pick your commit with the array.c changes onto, then make the PR for the array branch
Started out teaching English at Embry-Riddle. Graded 10,000 essays. Learned lesson. Became a mathematics teacher. Discovered computing. Never looked back.
Location
Houston TX
Education
Stetson University: B.A., M.A. in English; M.S. in mathematics
Assuming you have
developas the main branchhashandarraywill merge into, you cangit checkout -b array developwhich will make a a branch based on develop where you can cherry-pick your commit with the array.c changes onto, then make the PR for thearraybranchGreat! Thanks much!
Then when one PR is merged, the other will still be capable of a clean merge?
yes, under these conditions. It gets messier if the changes you want to separate are spread among different commits.