aboutsummaryrefslogtreecommitdiff
path: root/repo/git/kiss-commit
blob: ae0315a41bae2c89f596569db51c603b88eb71fd (plain)
1
2
3
4
5
#!/bin/sh
# Commit a package without the prefix of 'package:'

[ "$1" ] || { printf 'usage: %s <commit-msg without package name>\n' "${0##*/}"; exit 0 ;}
git reset; git add .;  git commit -m "${PWD##*/}: $*"