diff options
Diffstat (limited to 'git-codereview/submit.go')
| -rw-r--r-- | git-codereview/submit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-codereview/submit.go b/git-codereview/submit.go index 4bbbf32..5577dac 100644 --- a/git-codereview/submit.go +++ b/git-codereview/submit.go @@ -96,7 +96,7 @@ func submit(b *Branch, c *Commit) *GerritChange { // Upload most recent revision if not already on server. if c.Hash != g.CurrentRevision { - run("git", "push", "-q", "origin", b.PushSpec(c)) + run("git", "push", "-q", config()["remote"], b.PushSpec(c)) // Refetch change information. g, err = b.GerritChange(c, "LABELS", "CURRENT_REVISION") |
