From 453cc058d9ee6d7cb47529d99061216e72149a5f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 9 May 2021 06:21:55 +0200 Subject: Adding bin. Signed-off-by: Daniel Baumann --- bin/git-commit-lazy | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 bin/git-commit-lazy (limited to 'bin/git-commit-lazy') diff --git a/bin/git-commit-lazy b/bin/git-commit-lazy new file mode 100755 index 0000000..a661f91 --- /dev/null +++ b/bin/git-commit-lazy @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ -n "$(git config --get user.signingKey)" ] +then + GIT_OPTIONS="-S" +fi + +git add -A +git commit -a -s --allow-empty -m "Updating." ${GIT_OPTIONS} -- cgit v1.2.3