Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first contributions #288

Open
kylezhang opened this issue Aug 22, 2020 · 3 comments
Open

first contributions #288

kylezhang opened this issue Aug 22, 2020 · 3 comments

Comments

@kylezhang
Copy link

参考资料

https://github.com/firstcontributions/first-contributions

@kylezhang kylezhang changed the title first-contributions first contributions Aug 22, 2020
@kylezhang
Copy link
Author

我建议对于每次的commit或者pr等events都可以关联一个issue,这样方便维护和管理。

zhangqixun added a commit that referenced this issue Aug 22, 2020
@hu-qi
Copy link
Contributor

hu-qi commented Aug 22, 2020

大佬,怎么操作的?
准备现学现用,我还能关联commit/pr到这个issue吗?

@kylezhang
Copy link
Author

kylezhang commented Aug 24, 2020

大佬,怎么操作的?
准备现学现用,我还能关联commit/pr到这个issue吗?

git commit -am 'issue-number comment-messages'

  • 上面是我经常使用的格式,其中issue-number就是需要关联的issue信息,有两种情况;
    1. 关联本仓库的issues,只需要 "#"+"issue-number", eg. :"#222"
    2. 关联非本仓库的issues,可以填入一个完整的issue URL, eg. https://github.com/2020NCOV/ncov-report/issues/288
  • 参考:

在提交你的commit/pr时直接在comment中填入这个issue的完整url即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants