#!/bin/sh set -e if [ -n "$(git config --get user.signingKey)" ] then GIT_OPTIONS="-S" fi git add -A git commit -a --amend -C HEAD ${GIT_OPTIONS}