-2

How can I reference an issue when committing to Bitbucket?

I haven't used Bitbucket much, but I know you can defiantly do this in github:

github reference

Michael Wilson
  • 1,548
  • 3
  • 21
  • 44

1 Answers1

1

Just write issue #NUMBER in a (commit) message/comment.

See https://confluence.atlassian.com/display/BITBUCKET/Mark+up+comments,+issues,+and+commit+messages

MrTux
  • 32,350
  • 30
  • 109
  • 146
  • 2
    Additionally if you want to reference a commit in the issue tracker you only need to copy and paste the hash. – Rob Rose May 14 '15 at 15:53
  • you can put many lines in a commit messages, do not worry about the length of the message, and focus on the quality. – maggick May 14 '15 at 16:13