From 93aecab6d257bb6145e7f33fa61c6e3d0f58292b Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 31 Oct 2023 15:02:50 -0400 Subject: [PATCH] Fixes pushing to a remote branch w/ different name --- src/env/node/git/git.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env/node/git/git.ts b/src/env/node/git/git.ts index fc212df..5fac191 100644 --- a/src/env/node/git/git.ts +++ b/src/env/node/git/git.ts @@ -907,7 +907,7 @@ export class Git { if (options.branch && options.remote) { if (options.upstream) { - params.push('-u', options.remote, `${options.upstream}:${options.branch}`); + params.push('-u', options.remote, `${options.branch}:${options.upstream}`); } else if (options.publish) { params.push('--set-upstream', options.remote, options.branch); } else {