1
0
mirror of https://github.com/tiimgreen/github-cheat-sheet.git synced 2025-08-12 10:53:58 +02:00

Merge pull request #36 from konklone/patch-1

Less jarring example text
This commit is contained in:
Rafal Chmiel
2014-04-22 20:57:40 +01:00

View File

@@ -206,7 +206,7 @@ https://github.com/rails/rails/blob/master/activemodel/lib/active_model.rb#L53-L
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 master branch.
```bash ```bash
$ git commit -m "Fix cock up, fixes #12" $ git commit -m "Fix screwup, fixes #12"
``` ```
This closes the issue and references the closing commit. This closes the issue and references the closing commit.