Answers for "how to close an issue with a commit"

1

how to close an issue with a commit

git commit -m "closes #1, closes #2, closes #3; YOUR COMMIT MESSAGE"
Posted by: Guest on October-16-2020
1

how to close an issue with a commit

git commit -m "Fixes #45; commit message"
Posted by: Guest on October-16-2020
0

close git issue with commit

You can use any of these keywords to close an issue via commit message:

close, closes, closed, fix, fixes, fixed, resolve, resolves, resolved
The message MUST contain a string matching the following pattern: 
KEYWORD #ISSUE. For example: close #1.

How can I close two or more issues with commit message?
You can use comma separated list in the commit message for it.
It is also possible to close several issues in the same commit: 
just repeat several time the pattern to close issues. 
For example, the following commit message: 
add new quick sort algorithm, fixes #4, resolve #6, closed #12 would close, the issues 4, 6 & 12 of the project on which the commit would occur.

You can try:

git commit -m "closes #1, closes #2, closes #3; YOUR COMMIT MESSAGE"
Posted by: Guest on February-08-2021

Code answers related to "how to close an issue with a commit"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language