# Commit Conventions
Use special keywords in commit messages for automatic issue management in Gitea.
## Keywords for Closing Issues
If a commit fully resolves an issue, add one of the following words before the issue number:
* `close`, `closes`, `closed`
* `fix`, `fixes`, `fixed`
* `resolve`, `resolves`, `resolved`
### Examples:
* `Refactor: Generalize paths (Fixes #5)` — closes issue #5.
* `Docs: Add readme (Closes #10)` — closes issue #10.
* `Bugfix: Handle null pointer (Resolves #3)` — closes issue #3.
## References to Issues (Without Closing)
If you want to reference an issue without closing it, just specify the number:
* `WIP: Start working on #4` — adds a reference to the commit in issue #4 but keeps it open.