blob: b68ba3d66b90f3e47b36efdaf8eb1292c297c134 (
plain) (
tree)
|
|
#!/bin/sh
LOCK_FILE=".git/.amend-lock"
if [ -f "$LOCK_FILE" ]; then
rm "$LOCK_FILE"
exit 0
fi
touch "$LOCK_FILE"
export GIT_COMMITTER_NAME="Qrius"
export GIT_COMMITTER_EMAIL="[email protected]"
export GIT_AUTHOR_NAME="Qrius"
export GIT_AUTHOR_EMAIL="[email protected]"
echo "Doing commit amend"
git commit --amend --no-edit --author="$GIT_AUTHOR_NAME <$GIT_AUTHOR_EMAIL>"
|