mirror of
https://github.com/tiimgreen/github-cheat-sheet.git
synced 2025-08-11 18:34:00 +02:00
@@ -118,7 +118,7 @@ To see all of the shortcuts for the current page press `?`.
|
|||||||
|
|
||||||
## Closing Issues with Commits
|
## Closing Issues with Commits
|
||||||
|
|
||||||
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.
|
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 commited 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