---
title: "Discussion on \"Git Squash Commits\" | Hashnode"
description: "Discussion on \"Git Squash Commits\". What is this Git Squash\nFirst, let's understand what Git squash is. When we commit code and raise a pull request (PR), we often make multiple changes to it. When it comes time for final deployment or merging, we need to squash all of our commits into..."
url: "https://hashnode.com/posts/git-squash-commits/644e13bc61984e65ae3467ce"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Git Squash Commits](https://loki.dev/git-squash-commits?utm_source=hashnode&utm_medium=feed)

What is this Git Squash First, let's understand what Git squash is. When we commit code and raise a pull request (PR), we often make multiple changes to it. When it comes time for final deployment or merging, we need to squash all of our commits into...

Apr 30, 2023 · 3 min read · loki.dev  
Read the article

-   [#github](https://hashnode.com/tag/github)
-   [#git](https://hashnode.com/tag/git)
-   [#git-merge-squash](https://hashnode.com/tag/git-merge-squash)
-   [#clean-code](https://hashnode.com/tag/clean-code)

## Written by

[Lokesh Srivastava](https://hashnode.com/@loki11)

@loki11 · India

  
[View profile](https://hashnode.com/@loki11)

Web Dev

Iam 3rd year Engineering student I love learning new stuffs about web dev

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
