Assuming you have this:
master: o--o--o
development: `o--o--o
I want to merge the changes back as one commit (avoiding all the junk commits along the way):
git checkout master
git merge --squash development
But then the github network page shows this:
master: o--o--o---------o
development: `o--o--o
What are you supposed to do so it shows what you would expect, ie:
master: o--o--o---------o
development: `o--o--o’