diff options
Diffstat (limited to 'pkg/commands/sync.go')
-rw-r--r-- | pkg/commands/sync.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/sync.go b/pkg/commands/sync.go index e032d0a65..7de5b8efd 100644 --- a/pkg/commands/sync.go +++ b/pkg/commands/sync.go @@ -19,7 +19,7 @@ func (c *GitCommand) Push(branchName string, force bool, upstream string, args s setUpstreamArg := "" if upstream != "" { - setUpstreamArg = "--set-upstream " + upstream + setUpstreamArg = "--set-upstream " + c.OSCommand.Quote(upstream) } cmd := fmt.Sprintf("git push %s %s %s %s", followTagsFlag, forceFlag, setUpstreamArg, args) |