Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

gh stack CLI now supports git worktrees 🥞 You can manage stacks where each branch is in a separate worktree, while still taking advantages of things like cascading stack rebases

40,542 görüntüleme • 24 gün önce •via X (Twitter)

16 Yorum

erKam 🅰️ profil fotoğrafı
erKam 🅰️24 gün önce

@github Stacked PRs are addictive. Once you start splitting, you can't stop. My agent made 2000-line diffs the norm, and nobody enjoys reviewing those. So I split a big booking flow bug fix into 4 PRs: refactor, old bugs, shared service, UI fixes. Will be reviewing them on Monday calmy

John Rees profil fotoğrafı
John Rees23 gün önce

@github Oo nice! QQ. I've usually got several agents working in parallel, each in their own worktree in herdr. What happens if one of them runs a stack rebase while another agent is working on a different branch in the same stack?

Andrew Babbitt profil fotoğrafı
Andrew Babbitt23 gün önce

@github How well does it work with the GH Copilot Desktop app and multiple threads / subagents? Did the stack skill also get an update as a part of this?

Kizuno18 profil fotoğrafı
Kizuno1824 gün önce

@github worktrees are the ultimate blast-radius isolation for agents: each branch in a separate checkout eliminates git index lock contention. in our pipeline targeting brazil, isolated worktrees let parallel agents test schema changes without disturbing production state. huge win

Amit Ghadge profil fotoğrafı
Amit Ghadge23 gün önce

@github Manually resolve conflicts.

Sameen Karim profil fotoğrafı
Sameen Karim23 gün önce

@github Your agents can use the CLI. It’s a wrapper around git rebase

FrançaisFaché profil fotoğrafı
FrançaisFaché23 gün önce

@github Gave a try. Same bullshit as before, a little bit more pollished.

Shekhar Palit 🇺🇸 profil fotoğrafı
Shekhar Palit 🇺🇸23 gün önce

@github Please fix the CI bottleneck

Batuhan Cakir profil fotoğrafı
Batuhan Cakir23 gün önce

@github can we also put the whole stack in the merge queue ?

Sameen Karim profil fotoğrafı
Sameen Karim23 gün önce

@github Yes! We updated how stacks works with merge queue so it will always merge together in the same merge group

Batuhan Cakir profil fotoğrafı
Batuhan Cakir23 gün önce

@github oh that sounds really nice

Sudara Fernando profil fotoğrafı
Sudara Fernando23 gün önce

@github Have you guys thought about why we can’t merge the stack when 1 approval is needed even though all PRs in the stack are approved? It is a real blocker for us at the moment

Sameen Karim profil fotoğrafı
Sameen Karim23 gün önce

@github We’re rolling out a fix for this next week. Sorry it’s taking so long, we needed to change a lot of security-related code

Matthew profil fotoğrafı
Matthew24 gün önce

@github Yes!!!!

John Barker profil fotoğrafı
John Barker23 gün önce

@github Any plans on being able to merge a stack as a single squashed commit into your main branch?

Sameen Karim profil fotoğrafı
Sameen Karim23 gün önce

@github We discussed this and it would violate too many of our internal models unfortunately. Merging multiple PRs into one commit would cause issues with reverting PRs and associating approvals/rule evals to merge commits

Benzer Videolar