Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jas14
on Nov 17, 2021
|
parent
|
context
|
favorite
| on:
Stacked changes: how FB and Google engineers stay ...
I still haven't found a reliable way to prevent merging branches that aren't the first in the stack :/
fosterfriends
on Nov 17, 2021
|
next
[–]
(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
on Nov 18, 2021
|
prev
[–]
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: