Squashing Multiple Commits into One

In this episode, we will combine two existing commits into a single one.

Transcript
Squashing Multiple Commits into One

In this episode, we will combine two existing commits into a single one.

So let’s look at our example scenario. And let’s say we’d like to combine these two commits here into one. To do that, we first have to make sure that we have the current HEAD branch selected.

Now we can simply select the commits we want to combine, right-click one of them and then select “Squash” from the menu. And that’s already it! Really easy!

Another way is to simply drag one commit and drop it onto another commit. Tower is clever enough to understand that that you want to squash two commits into one - and voila! Really simple!