Understanding the Default Pull Request Title, Description and Merge Commit Message

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.

Summary

This article is designed to explain the default behavior of the Pull Request Title, Description and Merge commit message

Default Pull Request Title Behavior

The default Title of a Pull Request at the time of creation:

  • If there is only one commit in the source branch and only one commit in the Pull Request, then the commit message will be the default title.
  • If there is more than one commit in the source branch or more than one commit message in the Pull Request, then the source branch name will be the default title.

The default Title of the Pull Request can be updated by any text at the time of Pull Request creation and can be updated later using Pull Request Edit button when viewing the Pull Request.

Default Description Behavior

The default Description of a Pull Request at the time of creation:

  • If there is only one commit in the source branch and only one commit in the Pull Request, then the default description will be an empty message.
  • If there is more than one commit in the source branch or more than one commit in the Pull Request, then the default description will be a Consolidated list of commit messages of commits in the Pull Request.

This default Description of the Pull Request can be updated by any text at the time of Pull request creation and can be updated using Pull Request Edit button when viewing the Pull Request.

Default Merge Commit Message Behavior

The merge commit message of the Pull request at the time of merge is dependent on the Merge strategy used. The merge commit message can be updated with any message at the time of merge.

Merge commit Merge strategy:

Merged in <source branch name> (pull request #<Pull Request Number>)

<Pull Request Title>


Squash Merge strategy:

Merged in <source branch name> (pull request #<Pull Request Number>)

<Pull Request Title>

<Consolidated list of commit messages of commits in the Pull Request>


Fast Forward Merge strategy:

There is no merge commit

If you have further questions regarding this article, please raise a support ticket or raise a community support ticket for further assistance.

DescriptionUnderstanding the Default Pull Request Title, Description and Merge Commit Message
ProductBitbucket Cloud
Last modified on Jan 31, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.