Index: git_cl/git_cl.py |
diff --git a/git_cl/git_cl.py b/git_cl/git_cl.py |
index 1be555b66a32ad3519af09e5d31d4eb7068e02f4..bbb5d079f2a2099f373f1064cc3951a0a1852587 100644 |
--- a/git_cl/git_cl.py |
+++ b/git_cl/git_cl.py |
@@ -977,8 +977,8 @@ def SendUpstream(parser, args, cmd): |
# we clean up the branches. |
retcode = -1 |
try: |
- RunGit(['checkout', '-q', '-b', MERGE_BRANCH, base_branch]) |
- RunGit(['merge', '--squash', cl.GetBranchRef()]) |
+ RunGit(['checkout', '-q', '-b', MERGE_BRANCH]) |
+ RunGit(['reset', '--soft', base_branch]) |
if options.contributor: |
RunGit(['commit', '--author', options.contributor, '-m', description]) |
else: |