Issue does not close after commit with issue referenced "Issue # 1 fixed"

0

I'm doing some Git Flow testing and tried closing a Issue # 1 by committing it within a hotfix branch, see the repository:

link

Notice that in both attempts (Resolve issue # 1) and (Issue # 1 fixed) instead of closing the Issue, it was only referenced. Is there any change in this feature to close issue via commit or am I making a mistake in the process?

I researched this but only found posts about how to close issue with commit and nothing about that kind of problem.

    
asked by anonymous 27.11.2018 / 01:43

1 answer

1

This is a function of GitHub. It has a close issues feature from the commit message. As far as I know, it reads the commit description, not that main message. For example:

Adiciona foo ao módulo bar

Closes #123, #456, #789

Notice that there is a line break. And the keyword is Closes #<número da issue> .

Read more here .

    
27.11.2018 / 18:26