Guest User

Untitled

a guest
Jun 22nd, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. git checkout dev
  2. git format-patch --stdout last_sync_tag > catchup.mbox
  3. git checkout public
  4. git am catchup.mbox
  5. git --skip # talks about a missing file
  6. git --skip # talks about a missing file
  7. git --skip # talks about a missing file
  8.  
  9. dev: a-b-c-d-e-f-g-h-i-j-k
  10. pub: t-u-v-w-x
  11.  
  12. checkout pub
  13. rebase --onto pub i # I really expected this to work
  14.  
  15. git checkout -b dev public
  16. git am create-dev-only-files.patch
  17. git checkout public
  18. git merge -s ours dev
  19. git checkout dev
  20. # write more dev patches...
  21. git checkout public
  22. git merge dev
  23. # and this should merge in the patches without bringing in the
  24. # dev-only files
  25.  
  26. git checkout -b dev public
  27. git am create-dev-only-files.patch
  28. git checkout public
  29. git merge -s ours dev
  30. git checkout dev
  31. # write more dev patches...
  32. git checkout public
  33. git merge dev
  34. # and this should merge in the patches without bringing in the
  35. # dev-only files
  36.  
  37. git rebase --onto <PH> <DevPH>
  38.  
  39. git rebase --onto pub h
Add Comment
Please, Sign In to add comment