sync might not work with worktree
未关闭
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 还没有评估数据。