We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
git commit -m "fix #12"
这将会关闭Issue #12,并且在Issue讨论列表里关联引用这次提交。
引用其他 issue 如果你想引用到同一个仓库中的一个Issue,只需使用井号 # 加上Issue号,这样就会自动创建到此Issue的链接。 要链接到其他仓库的Issue,就使用 user_name/repo_name#ISSUE_NUMBER 的方式,例如 git #12
关联多个 issue 按照上面关联一个或者多个的方式, 写多个就好了
git commit -m 'fix #12, fix yandeqiang/blog#12'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
git
github help from
issue
如果某个提交修复了一个Issue,当提交到master分支时,提交信息里可以使用 fix/fixes/fixed , close/closes/closed 或者 resolve/resolves/resolved等关键词,后面再跟上Issue号,这样就会关闭这个Issue。
git commit -m "fix #12"
这将会关闭Issue #12,并且在Issue讨论列表里关联引用这次提交。
引用其他 issue
如果你想引用到同一个仓库中的一个Issue,只需使用井号 # 加上Issue号,这样就会自动创建到此Issue的链接。
要链接到其他仓库的Issue,就使用 user_name/repo_name#ISSUE_NUMBER 的方式,例如 git #12
关联多个 issue
按照上面关联一个或者多个的方式, 写多个就好了
git commit -m 'fix #12, fix yandeqiang/blog#12'
git 配置/命令
问题
The text was updated successfully, but these errors were encountered: