---
title: What is Squash and Merge?
description: Squash and Merge is a merge option that merges a sequence of commits into a single commit when you complete a pull request.
---

[Skip to content](https://help.copia.io/knowledge/what-is-squash-and-merge#main-content)

English

Show submenu for translations

[More support](https://help.copia.io/knowledge/kb-tickets/new?hsLang=en)

![](https://help.copia.io/hubfs/Logo_Hotdog_BlackWhite%20(1).svg)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [More support](https://help.copia.io/knowledge/kb-tickets/new)
- Contact us

 Contact us

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Copia Help Center](https://help.copia.io/knowledge?hsLang=en)
2. [Source Control FAQ](https://help.copia.io/knowledge/source-control-faq?hsLang=en)
3. [Web App](https://help.copia.io/knowledge/source-control-faq?hsLang=en#web-app)

# What is Squash and Merge?

## Squash and Merge is a merge option that merges a sequence of commits into a single commit when you complete a pull request.

The Squash and Merge feature is only available in a Pull Request. When you are ready to merge your Pull Request, you can select the arrow next to the *Merge Pull Request* button and select the *Squash and Merge* option. 

![GIF Recording 2023-04-28 at 9.43.51 AM](https://help.copia.io/hs-fs/hubfs/GIF%20Recording%202023-04-28%20at%209.43.51%20AM.gif?width=688&height=180&name=GIF%20Recording%202023-04-28%20at%209.43.51%20AM.gif)

Squashing and Merging can be useful for a number of different reasons, some of them being:

1. Simplifying commit history: Squashing commits condenses the history, making it easier to understand and navigate. This can be particularly helpful when working with large teams or complex projects.
2. Providing clearer context: By merging all changes from a feature branch into a single commit, it becomes easier to understand the context and purpose of the changes. This can make reviewing code and understanding the impact of changes more straightforward.

However, it's important to note that Squash and Merge may not always be the best approach, depending on your project's specific needs and requirements. In some cases, retaining the full commit history can provide valuable context and help maintain a more accurate record of the development process.

Elements of the UI may have changed since the time of posting. For the most up-to-date information, refer to [our Documentation](http://docs.copia.io/).

- [Getting Started](https://help.copia.io/knowledge/getting-started?hsLang=en#main-content)

    - [Sales Wiki](https://help.copia.io/knowledge/getting-started?hsLang=en#sales-wiki)
    - [Account Management](https://help.copia.io/knowledge/getting-started?hsLang=en#account-management)
    - [Customer Experience](https://help.copia.io/knowledge/getting-started?hsLang=en#customer-experience)
- [Source Control FAQ](https://help.copia.io/knowledge/source-control-faq?hsLang=en#main-content)

    - [Web App](https://help.copia.io/knowledge/source-control-faq?hsLang=en#web-app)
    - [Git Questions](https://help.copia.io/knowledge/source-control-faq?hsLang=en#git-questions)
    - [Desktop App](https://help.copia.io/knowledge/source-control-faq?hsLang=en#desktop-app)
    - [Tutorials](https://help.copia.io/knowledge/source-control-faq?hsLang=en#tutorials)
    - [Best Practices](https://help.copia.io/knowledge/source-control-faq?hsLang=en#best-practices)
    - [Source Control](https://help.copia.io/knowledge/source-control-faq?hsLang=en#source-control)
- [DeviceLink FAQ](https://help.copia.io/knowledge/devicelink-faq?hsLang=en#main-content)

    - [Siemens TIA Portal](https://help.copia.io/knowledge/devicelink-faq?hsLang=en#siemens-tia-portal)
    - [Agent](https://help.copia.io/knowledge/devicelink-faq?hsLang=en#agent)
    - [General](https://help.copia.io/knowledge/devicelink-faq?hsLang=en#general)
    - [Rockwell Studio 5000](https://help.copia.io/knowledge/devicelink-faq?hsLang=en#rockwell-studio-5000)

[![Chill listening crop-3](https://help.copia.io/hs-fs/hubfs/Logo_Hotdog_BlackTeal-1.png?width=87&height=24&name=Logo_Hotdog_BlackTeal-1.png "Chill listening crop-3")](http://copia.io)

43 W 24th St, 6th Floor  
New York, NY 10010

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2025, Copia Automation, Inc.