github / github/gh-stack

sync might not work with worktree

Aperta
#87 2 commenti 15 reazioni 1 assegnatario Rivendicata da @skarim Vedi su GitHub
bug topic: cli - worktrees
Lingua principale
Go
Stelle
1.5k
Fork
70
Merge medio
1g 8h
PR unite (30g)
7

Descrizione

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`

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.