From 356318840b9665e7338ad62e93df11c30402ae81 Mon Sep 17 00:00:00 2001 From: Georg Teufelberger <55834264+tgeorg-ethz@users.noreply.github.com> Date: Fri, 28 Jun 2024 14:40:10 +0200 Subject: [PATCH] docs: Explain how commit messages should be formatted (#94) --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c97c48..e598d8b 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,13 @@ To get the procedures, go to the [release page on right side](https://github.com Commit messages should follow [conventional commit message structure](https://www.conventionalcommits.org/) -TODO: examples +**Exempt from this are commits that only change procedure contents.** + +This means, if your commit edits anything other than procedure contents, then you should prefix your commit messages with for example +- `feat:` for changes that are not procedure related, e.g. adding a new LaTeX skeleton or +- `fix:` for all other changes +- `docs:` for documentation changes regarding the repo like updating the readme or comments in the LaTeX source. +- `refactor:` for changes in the LaTeX structure like renaming a file or moving imports Changes should be small and atomic. Basically make many small PRs rather than one big one.