Can I use markup in commit messages

You can also refer to Bitbucket issues, requests, and users directly from a comment, issue, or commit message.  When you create a reference, saving the comment (or issue) causes Bitbucket to automatically link to that object.  For items that relate to a repo, such as issues, pull requests, and commits, markdown references to Bitbucket objects always refer to the current repository.  You can also mention an individual or team account, or even insert an emoji.
Linking to objects for comments and issues within a repository
Object Syntax Example
pull request
pull request #PR_NUMBER
pull request #29
issues
issue #ISSUE_NUMBER
issue #3

commit

7-40 chars

HEX_CHARS
bb21047
Linking to non-repository objects
Object Syntax Example
user (account)
@USERNAME
@tutorials

Emoji

David Coffey created a list of available emoji

:EMOJI:
:mask:


Finally, if you have created a link to JIRA Software or another service such as Jenkins, you can enter references for those "linkers" too.  For information on creating and using linkers, see Link to a web service.

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport