tips

Git: how to squash commits already pushed

A few days ago I was working on feature in a project, and after a lot of commits and pushes, I wanted to show to my colleagues my changes in a single commit.

3 minute read

A few days ago I was working on feature in a project, and after a lot of commits and pushes, I wanted to show to my colleagues my changes…. but I wanted to show them in a single commit.