Replies: 1 comment 5 replies
-
To summarize, the main issue here is branches with different rates of rebasing?
Once you rebase |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's say I have a protected branch
migration
(where multiple people work on) and a dependant long lived branchepic
(that I own), likeThere are mulitple branches generated along the way like
epic/feature-1
and merged intoepic
, so that when the big featureepic
is done it can get merged intomigration
again. Development on migration keeps happening and occasionally I need to rebase epic onto migration to get the changes into it.Should I protect
epic
here?If I do so, how do I get the changes from
migration
intoepic
and rebase all dependant branches onto this also?I tried rebasing manually but then I also have to rebase all dependant branches manually.
If I don't protect
epic
, the branches get updated automatically when Igit stack --pull
, but since merges happen intoepic
and not in the latest protected branch, git-stack does not understand this and shows the same changes on different stacks. I also accidentally managed to delete already merged stuff intoepic
(but I don't remember how this happened).I am really anxious about deleting stuff here that got already merged since we force push all the time.
What would you do in this scenario with long lived branches?
Beta Was this translation helpful? Give feedback.
All reactions