Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jas14
· 5y ago · 0 comments
I still haven't found a reliable way to prevent merging branches that aren't the first in the stack :/
Comments
[–]
fosterfriends
5y ago
(Graphite engineer) We had the same problem. Coded in a feature that prevents you from casually merging branches that are not bottom of the stack :)
[–]
_freds
5y ago
What I usually do is if I need to stack more PRs I open them as a draft to avoid accidental merges. I then convert each PR to a non-draft as I “pop” the stack.