1 2 3 4 5
#!/bin/sh # commit message filter used with git-filter-branch to record the original commit ID cat echo echo "Originally-Committed-As: $GIT_COMMIT"