I've seen commit messages that refer to a specific issue / pull request. What is the syntax to include a specific repository's issue or pull request?
相关问题
- How to add working directory to deployment in GitH
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
- Emacs shell: save commit message
- Can I organize Git submodules in a flat hierarchy?
相关文章
- 请教Git如何克隆本地库?
- java开发bug问题:GitHub授权登录无法获取授权账号信息?
- Is there a Github markdown language identifier for
- “no implicit conversion of Integer into String” er
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
- Is there a version control system abstraction for
Github share PR/Issue number use the same sequence.
So, one #number either one PR or one Issue.
Just use #number is OK.
Use
#1234
in a comment to reference pull request 1234 from the current repo.Use the documented auto-linking format for issues across repositories.
{owner}/{repository}#{issue_number}
mojombo/jekyll#1
When such formatted text is present in a commit message, it's automatically transformed into a clickable link which will redirect one to
https://github.com/{owner}/{repository}/issues/{issue_number}
For linking to another repository, if you just paste the link to the issue or pull request, say
https://github.com/{owner}/{repository}/issues/{issue_number}
, GitHub will render it asFor example, https://github.com/jlord/sheetsee.js/issues/26 will render as jlord/sheetsee.js#26.
See https://help.github.com/articles/autolinked-references-and-urls/#issues-and-pull-requests