Let's say you have a Pull Request from myBranch
to master
with 3 commits, and you want them to appear as a single commit in master
.
If you're merging on the command line, this is trivial:
git checkout master
git merge --squash myBranch
git commit