fix: use explicit refspec for push in worktrees with slashed branch names (#1684)

Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
IshanandJulius Marminge authored and GitHub committed 2026-04-02 15:29:30 -07:00
1 parent ae3ea3980d
commit d2822a8883
1 file changed
+1 -1
+1 -1
View File
@@ -1423,7 +1423,7 @@ export const makeGitCore = Effect.fn("makeGitCore")(function* (options?: {
"push",
"-u",
publishRemoteName,
branch,
`HEAD:refs/heads/${branch}`,
]);
return {
status: "pushed" as const,