How do I squash my last N commits together?

asked14 years ago
last updated3 years ago
viewed3.1m times
Up Vote5kDown Vote

How do I squash my last N commits together into one commit?