github / github/gh-stack

sync might not work with worktree

Offen
#87 2 Kommentare 15 Reaktionen 1 zugewiesene Person Beansprucht von @skarim Auf GitHub ansehen
bug topic: cli - worktrees
Vorherrschende Sprache
Go
Sterne
1.5k
Forks
70
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
7

Beschreibung

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`

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.