I know you can close issues by putting closes #1
or fixes #1
in the commit message. What is the best way to close multiple issues in the same commit message?
Also, it appears that using fixes
rather than closes
doesn't create a link from the commit message to the issue, but it does close the issue. What's up with that?
Закрывает #1, закрывает #2, закрывает #3; остальная часть сообщения о фиксации.
Пункты закрывает
могут находиться в любом месте сообщения, и исправляет
является допустимым синонимом:
This fixes a memory leak in foo() that closes #4,
also fixes #5 which is a duplicate.
Следующие раньше работали, но сейчас только ссылается на проблемы #2 и #3.
Закрывает #1, #2, #3