mirror of
https://github.com/tiimgreen/github-cheat-sheet.git
synced 2025-08-10 18:04:10 +02:00
Issues can also be closed by resolve(|s|d)
As documented in https://help.github.com/articles/closing-issues-via-commit-messages (to which the section links on the end!). resolve* was not there from the very beginning, though — and thus many people (get off my lawn!) don’t know about it.
This commit is contained in:
@@ -189,7 +189,7 @@ https://github.com/rails/rails/blob/master/activemodel/lib/active_model.rb#L53-L
|
|||||||

|

|
||||||
|
|
||||||
### Closing Issues via Commit Messages
|
### Closing Issues via Commit Messages
|
||||||
If a particular commit fixes an issue, any of the keywords `fix/fixes/fixed` or `close/closes/closed`, followed by the issue number, will close the issue once it is committed to the master branch.
|
If a particular commit fixes an issue, any of the keywords `fix/fixes/fixed`, `close/closes/closed` or `resolve/resolves/resolved`, followed by the issue number, will close the issue once it is committed to the master branch.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ git commit -m "Fix cock up, fixes #12"
|
$ git commit -m "Fix cock up, fixes #12"
|
||||||
|
Reference in New Issue
Block a user