github / github/gh-stack

sync might not work with worktree

未关闭
#87 2 条评论 15 个 reaction 已指派 1 人 已被 @skarim 认领 在 GitHub 查看
bug topic: cli - worktrees
主要语言
Go
星标
1.5k
派生
70
平均合并
1 天 8 小时
30 天内合并 PR
7

描述

I get conflicts when syncing after a merge `gh stack sync` has a warning

```
⚠ Failed to fast-forward master: failed to run git: fatal: cannot force update the branch 'master' used by worktree at 'XXX'
```

seems the fix is to `git rebase --onto origin/master` but `gh stack rebase` does not have `--onto`

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。