1 2 3 4 5 6 7
#!/bin/bash COMMIT=$(git rev-parse --verify HEAD) MSG="built from ${COMMIT}" git commit -m "$MSG" -a git push