Github提交语法来链接合并请求

Github提交语法来链接合并请求

本文介绍了Github提交语法来链接合并请求/问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我见过涉及特定问题/请求的提交消息。使用 自动关联存储库问题的链接格式。




  • 语法: {owner} / {repository}#{issue_number}

  • 示例: mojombo / jekyll#1



当这样的格式文本出现在提交消息中时,它会自动转换为可点击的链接,将其重定向到 https://github.com/ {owner} / {repository} / issues / {issue_number}


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?

解决方案

Use the documented auto-linking format for issues across repositories.

  • Syntax: {owner}/{repository}#{issue_number}
  • Example: 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}

这篇关于Github提交语法来链接合并请求/问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 21:20