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



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.

Last modified on May 4, 2017

Was this helpful?

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