diff --git a/commands/command_push.go b/commands/command_push.go index 8828ad25..0b0e4fba 100644 --- a/commands/command_push.go +++ b/commands/command_push.go @@ -80,7 +80,7 @@ func pushCommand(cmd *cobra.Command, args []string) { } if remoteRef != "" { - right = strings.Split(remoteRef, "\t")[0] + right = "^" + strings.Split(remoteRef, "\t")[0] } } else { refsData, err := ioutil.ReadAll(os.Stdin)