fix: use explicit refspec for push in worktrees with slashed branch names (#1684)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
1 files changed, 1 insertions(+), 1 deletions(-)
apps/server/src/git/Layers/GitCore.ts+1-1
| ... | ... | @@ -1423,7 +1423,7 @@ export const makeGitCore = Effect.fn("makeGitCore")(function* (options?: { |
| 1423 | 1423 | "push", |
| 1424 | 1424 | "-u", |
| 1425 | 1425 | publishRemoteName, |
| 1426 | | branch, |
| 1426 | `HEAD:refs/heads/${branch}`, |
| 1427 | 1427 | ]); |
| 1428 | 1428 | return { |
| 1429 | 1429 | status: "pushed" as const, |