I'd like to perform "git merge --squash" with git2go, such that I get one commit for the merge. That commit message could be all of the other commit messages listed together, but it would only be one commit.
So far, I'm thinking I could rebase the branch to itself, squashing commits, and then merge? Or I could try to do the merge, then try to do a soft git reset, then make a new commit with all the new changes - In this case I'd lose all of the commit messages though. Or I could just give up and use the command line via golang.
Thanks in advance!