50% off your 1st seat of GitKraken Pro — only $4/month!

Learn Git: Git Squash

Intermediate Git Tutorial

What is Git squash? Squashing is a way to rewrite your commit history in Git and reduce the noise in a busy Git repository.

Watch this intermediate Git tutorial video to learn how to squash a commit in Git and how you can use the Git squash command to clean up your commit history. This can be particularly helpful if you want to polish up your work before sharing with a teammate.

Additional Resources

Related Content

Table of Contents

Make Git Easier, Safer &
More Powerful

with GitKraken

Visual Studio Code is required to install GitLens.

Don’t have Visual Studio Code? Get it now.