Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 24 дней назад •via X (Twitter)

Комментарии: 16

Фото профиля erKam 🅰️
erKam 🅰️24 дней назад

@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
John Rees23 дней назад

@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
Andrew Babbitt23 дней назад

@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
Kizuno1824 дней назад

@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
Amit Ghadge23 дней назад

@github Manually resolve conflicts.

Фото профиля Sameen Karim
Sameen Karim23 дней назад

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

Фото профиля FrançaisFaché
FrançaisFaché23 дней назад

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

Фото профиля Shekhar Palit 🇺🇸
Shekhar Palit 🇺🇸23 дней назад

@github Please fix the CI bottleneck

Фото профиля Batuhan Cakir
Batuhan Cakir23 дней назад

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

Фото профиля Sameen Karim
Sameen Karim23 дней назад

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

Фото профиля Batuhan Cakir
Batuhan Cakir23 дней назад

@github oh that sounds really nice

Фото профиля Sudara Fernando
Sudara Fernando23 дней назад

@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
Sameen Karim23 дней назад

@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
Matthew24 дней назад

@github Yes!!!!

Фото профиля John Barker
John Barker23 дней назад

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

Фото профиля Sameen Karim
Sameen Karim23 дней назад

@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

Похожие видео