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 摘要。