1 2 3 4
#!/bin/bash -e # Replace the most recent commit: `git amend [commit options]`. exec git commit --amend --no-edit "$@"