How can I squash my last X commits together into one commit using Git?
If you use TortoiseGit, you can the function Combine to one commit
:
Show Log
Combine to one commit
from the context menuThis function automatically executes all necessary single git steps. Unfortunatly only available for Windows.