How to merge a pull request without getting a merge commit in the Git history

Viewed 13976

On Github every time I merge a pull request into my base branch I get an extra merge commit:

Merge pull request #77 ...

I prefer to get a git history without these merge commits.

How can I achieve that?

2 Answers
Related