From 25510ee35d18099663713d3dd06c4ea39cb83177 Mon Sep 17 00:00:00 2001 From: jpk Date: Tue, 15 Aug 2023 13:35:19 +0200 Subject: [PATCH] Add updated usage to commit to be pushed --- clickusagelib/githook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clickusagelib/githook.py b/clickusagelib/githook.py index 9a14fc2..68e178d 100644 --- a/clickusagelib/githook.py +++ b/clickusagelib/githook.py @@ -8,7 +8,7 @@ set -e if grep -qz '^--follow-tags$' /proc/$PPID/cmdline; then poetry run clickusagemd run pyproject.toml if ! git diff --quiet USAGE.md; then - git commit -m "Updated USAGE.md" USAGE.md + git commit --amend USAGE.md fi fi