Git workflow to distribute changes to several branches -


i have git repo 2 massively diverged branches , b:

  • a upstream branch of open source software
  • b changes made (from commit starting point)

what have is

  • a above
  • b having changes want make available upstream developers
  • c changes apply our specific use of software

so find myself in situation of having split changes in b 2 parts , commit them different branches. did until have 2 checkouts of repository (b , c)

is there built-in git tool or workflow handles case?

simply create c branch, , cherry-pick relevant commits b c.

i avoid cherry-picking because duplicates commits , can create functional dependencies errors.

but in case, if 'c' isn't merged other branch, solution.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -