Issue does not close after commit with Issue referenced "Issue #1 Fixed"

Asked

Viewed 295 times

0

I’m doing some Git Flow testing and tried to close an issue #1 through commit within a Hotfix branch, see the repository:

https://github.com/chinnonsantos/git-flow/issues/1

Note that in the two attempts (Resolve Issue #1) and (Issue #1 Fixed) instead of closing the Issue, it was only referenced. Have there been any changes to this close feature via commit or am I making a mistake in the process?

I researched this but only find posts about how to close Use commit and nothing about this kind of problem.

1 answer

2


This is a Github feature. 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

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

Read more here.

  • Yes, the documentation describes that in a PR the keywords should be informed in the description, whereas in a commit they can be informed in the message. "... in your pull request Description or commit message.". Today I reread that old question, to remedy that doubt again kkk, Thank you.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.