Documentation
Overview:
Squash Button for Bitbucket Server (or DC) allows you to squash all the commits in a pull request into a single commit without merging it. It provides the functionality to consolidate multiple commits into one, simplifying the commit history and making it easier to review and track changes.
How to install the plugin:
- Please look for “Install a Data Center or Server app” section on the “Installing Marketplace apps | Atlassian Support | Atlassian Documentation” page
How to use the plugin:
- Observe the “Squash” button next to the in-built Merge button on a Pull Request page
- Click on the “Squash” button and it would pop up a “Squash pull request” dialog.
- Fill out fields with the desired the squash commit message and author.
- Hit “Squash” button on the dialog.