我尝试
git commit -m "close #1 close #2"
git push origin develop
但它仅解决#1问题。如何关闭两个或更多个有关提交消息的问题?
git commit -m "Closes #1, closes #2, closes #3; rest of commit message."
要关闭多个问题,请在每个问题参考之前加上以下其中一个以上关键字。您必须在每个问题之前使用关键字工作关键字的参考。
例如,这关闭#34,关闭#23,然后关闭example_user / example_repo#42将会关闭问题#34和#23同一存储库,并在“ example_user / example_repo”中发出#42存储库。
您可以使用以下任何关键字通过提交消息来关闭问题:
close, closes, closed, fixes, fixed
如何关闭提交消息的两个或多个问题?
您可以在提交消息中使用逗号分隔的列表。