Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I still haven't found a reliable way to prevent merging branches that aren't the first in the stack :/


(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 :)


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: