#!/bin/sh # git commp [GIT-COMMIT OPTIONS...] - git commit using prepared message PREPARE=$(git rev-parse --git-dir)/.prepare if [ -f "$PREPARE" ]; then git commit --edit -F "$PREPARE" "$@" && rm "$PREPARE" else exec git commit "$@" fi