Is bitbucket's "Merged" commit message or git?

Style Guide "How to Write a Git Commit Message Section" 5. Use imperative mood in the subject line by stating that Git itself uses imperative mood:

The overlord may seem a little rude; why we don't use it often. But it is perfect for Git committing storylines. One reason for this is that Git itself uses the imperative whenever it creates a commit on your behalf.

For example, the default post generated when using Git merge reads:

Merge branch 'myfeature'

And when using Git revert:

Revert "Add the thing with the stuff"

This reverts commit cc87791524aedd593cff5a74532befe7ab69ce9d.

Or when clicking the Merge button on a GitHub pull request:

Merge pull request #123 from someuser/somebranch

However, in a git repository on bitbucket, I meet an indicative mood:

Combined function / 123 (pull request # 1234)

Is this a post generated by bitbucket and not git?

+3


source to share


1 answer


From looking at my team's thread when someone merges their own PR you see

"Merge branch" branchName 'of bitbucket.org ... " .



When someone brings together someone else PR you see

"Merge at commandName / repositoryName / branchName"

+1


source







All Articles