github linking with other repos

前端 未结 3 648
一整个雨季
一整个雨季 2020-12-07 17:08

I have a project that relies on two repos in github to function. When I submit my project to github how do I link to these two repos? Should I duplicate the files in my ow

3条回答
  •  我在风中等你
    2020-12-07 17:47

    GitHub will also allow you to reference another repository in a comment on GitHub or in a commit. For example:

    We should probably handle this with github/enterprise#59
    

    This will add an update to the issue github/enterprise#59 with a link to your comment/commit.

    Cross-Repository Issue References

    enter image description here

    Sure, GitHub's all about social coding, but you can have social repositories, too. You can reference issues between repositories by mentioning user/repository#number in an issue. Once we see something like that — say, github/enterprise#59 — we'll make sure to update issue #59 in github's enterprise repository and let you know where it was referenced from. This is a part of GitHub Flavored Markdown, which also has a few tricks of its own.

    Read more: https://github.com/blog/967-github-secrets

提交回复
热议问题