Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Commit message at merge time

Tom Hanley December 8, 2017

How do I customize the format of the merge node messages in Bitbucket Server.

Current:

Merge pull request #3 in BBAD/merge-commit-message from feature/somechanges to master

this is my commit message....

Squashed commit of the following:

commit a0dd4197e424b9756807c7051d1b8742a11e640f
Author: Tom Hanley <tomha@>
Date: Fri Dec 8 16:22:15 2017 -0800

A random change of 29771 to file17.txt

commit e73f79f2d45c691dc80c9491eb0bc2f5231db5cd
Author: Tom Hanley <tomha@>
Date: Fri Dec 8 16:22:15 2017 -0800

A random change of 22803 to file16.txt

commit 8cda530f5de4747c86a5c14c3411488830109d22
Author: Tom Hanley <tomha@>
Date: Fri Dec 8 16:22:15 2017 -0800

A random change of 31780 to file15.txt

commit 184a6bbb2362806697990b35550673f5bf09f945
Author: Tom Hanley <tomha@>
Date: Fri Dec 8 16:22:15 2017 -0800

A random change of 7038 to file14.txt
I really don’t want the squashed merge commits to look like this.

We are hoping to have them more like

Title of pull request

this is my commit message....

- A random change of 29771 to file17.txt
- A random change of 22803 to file16.txt
- A random change of 31780 to file15.txt
- A random change of 7038 to file14.txt

PR #3

I would really like this to be pre-populated in the Merge Dialog as well.

The commit title is fairly redundant and as a result useless when scanning master history

Merge pull request #3 in BBAD/merge-commit-message from feature/somechanges to master
Merge pull request #2 in BBAD/merge-commit-message from feature/somechanges to master
Merge pull request #1 in BBAD/merge-commit-message from feature/somechanges to master

1 answer

0 votes
Lucy
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 17, 2018

Hi Tom,

I believe you are looking for a way to give the commit message a template, unfortunately Bitbucket Server does not currently have this feature. There is a similar feature request you can vote on if it meets your needs. Otherwise you might want to raise a new feature request for our Product Managers to consider.

Thanks,
Lucy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events