From 0d6a218f7fb2dbafaaf9c2663e9c345cd576c7b3 Mon Sep 17 00:00:00 2001 From: Sjur N Moshagen Date: Tue, 6 Feb 2024 09:54:20 +0200 Subject: [PATCH] =?UTF-8?q?Betre=20d=C3=B8me?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- infra/GutUsageExamples.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/infra/GutUsageExamples.md b/infra/GutUsageExamples.md index 8a92df37..7fe887e1 100644 --- a/infra/GutUsageExamples.md +++ b/infra/GutUsageExamples.md @@ -109,10 +109,11 @@ It is ok for the regex to match repos with no changes, `gut` will just skip them You can use this to add a note to skip CI, ie for commits that are non-substantial - no reason to kick of many tens of parallel builds if the changes are minimal. You do this by having the string `[skip-ci]` on a line by itself: -``` -Commit message +```sh +gut commit -r ^lang- -m "Commit message [skip-ci] +" ``` NB! You need another empty line after this string, or it won't trigger the non-CI thing.