Is there a way to merge an entire stack at once? I...
# how-do-i
t
Is there a way to merge an entire stack at once? I often have large stacks with 20-50 commits, and right now that takes more than an hour to merge. Is it possible to merge everything at once (keeping the history, I don't want to squash it all in one commit, that defeats the purpose of graphite)? As a (possibly) separate request: Is it possible to only run the git workflows on the latest commit of a graphite stack?
c
Hey There! Merge (N) from the tip takes the whole stack without squashing into one commit (use rebase) but it still merges PR-by-PR and waits on CI, which is why tall stacks feel slow. CI Optimizations *https://graphite.com/docs/stacking-and-ci*. Graphite’s merge queue can validate stacks in parallel: *https://graphite.com/docs/graphite-merge-queue*