Now Up To  80% OFF  GitKraken Pro
Upgrade to Save
Search
Close this search box.

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

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.

Team Collaboration Services

Secure cloud-backed services that span across all products in the DevEx platform to keep your workflows connected across projects, repos, and team members
Launchpad – All your PRs, issues, & tasks in one spot to kick off a focused, unblocked day. Code Suggest – Real code suggestions anywhere in your project, as simple as in Google Docs. Cloud Patches – Speed up PR reviews by enabling early collaboration on work-in-progress. Workspaces – Group & sync repos to simplify multi-repo actions, & get new devs coding faster. DORA Insights – Data-driven code insights to track & improve development velocity. Security & Admin – Easily set up SSO, manage access, & streamline IdP integrations.
winget install gitkraken.cli