From 0245cf6a3fb8f2d731274760c4b78c625de43bb6 Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Wed, 14 Mar 2018 15:15:36 +0100 Subject: [PATCH] Add link to tpope's blog post about commit messages --- CONTRIBUTING.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1eeb938..d75cc84 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -59,7 +59,10 @@ Refactoring suggestions and / or pull requests are welcome! - Make sure your commit messages are in a proper format. - Use the present tense ("Add feature" not "Added feature"). - Use the imperative mood ("Change foo to..." not "Changes foo to..."). - - Limit the first line to 72 characters or less. + - Limit the line length to 80 characters or less (72 for the first line). + - Have the second line be empty. + - If in doubt about the format, read [Tim Pope's note about git commit + messages][web_tbaggery]. - If the commit addresses an issue filed **on GitHub** please **DO NOT** reference that issue in the commit message (issue tracking is done in the [primary repository in the Uni Basel GitLab][web_autotx_gitlab]). @@ -92,4 +95,5 @@ actually does. [web_robosharp]: https://github.com/tjscience/RoboSharp [web_robosharp_fork]: https://git.scicore.unibas.ch/vamp/robosharp [web_commit]: https://en.wikipedia.org/wiki/Atomic_commit#Atomic_commit_convention +[web_tbaggery]: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html [web_autotx_gitlab]: https://git.scicore.unibas.ch/vamp/auto-tx \ No newline at end of file -- GitLab