Browse Source

Fixes pushing to a remote branch w/ different name

main
Eric Amodio 1 year ago
parent
commit
93aecab6d2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/env/node/git/git.ts

+ 1
- 1
src/env/node/git/git.ts View File

@ -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 {

Loading…
Cancel
Save