#47 - referencing isssue that is in same repository as commit/PR is
bratislava/private-maps#16 - when referencing issue that is located in different repository as commit/PR
based on previous point, if we are going to reference issues with help of # character and this character is located at start of line, it will cause another issue, the line will be treated as comment and it will be ignored. Common solution is to wrap reference inside square brackets -> [#46][bratislava/private-maps#13]
Please enter the commit message for your changes. Lines starting with '#' will be ignored, and an empty message aborts the commit.
Sidenote, when Pull Requests is created it will automatically take message from first commit and use it in PR message, where references also works.
Suggesting to add reference on issue inside commit message, which this commit/PR is solving:
#47
- referencing isssue that is in same repository as commit/PR isbratislava/private-maps#16
- when referencing issue that is located in different repository as commit/PR[#46]
[bratislava/private-maps#13]
Sidenote, when Pull Requests is created it will automatically take message from first commit and use it in PR message, where references also works.