mirror of
https://github.com/tiimgreen/github-cheat-sheet.git
synced 2025-08-14 11:53:58 +02:00
Merge pull request #189 from stefandesu/patch-1
Fix mistake in Closing Issues via Commit Messages
This commit is contained in:
@@ -256,7 +256,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`, `close/closes/closed` or `resolve/resolves/resolved`, 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 repository's default branch.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ git commit -m "Fix screwup, fixes #12"
|
$ git commit -m "Fix screwup, fixes #12"
|
||||||
|
Reference in New Issue
Block a user