From 610952c464858012e9341c7ca0f361b839e1e4fb Mon Sep 17 00:00:00 2001 From: Fabian Engelniederhammer Date: Thu, 25 Apr 2024 10:54:40 +0200 Subject: [PATCH] docs: mention npm run commitlint:merge-base in the README [skip ci] --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 80b4321b7..6bdb63ea4 100644 --- a/README.md +++ b/README.md @@ -197,3 +197,9 @@ The last commit message can be checked with ```shell npm run commitlint:last-commit ``` + +To check commit messages of a branch to the commit where it branches off from `main`, run + +```shell +npm run commitlint:merge-base +```