summaryrefslogtreecommitdiffstats
path: root/bin/git-amend-all
blob: 9621a0dd05f3a4790b180edde0fbe27ed672d594 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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}