1234567891011121314151617181920212223 |
- #!/bin/bash
-
- #
- # Slurp - add everything, slurp into a WIP commit and push
- #
-
- test -f .git-slurp-ok || {
- echo "you don't want this." >&2
- exit 2
- }
-
- mkmsg() {
- #
- # Create the slurp message
- #
- local host=$(hostname)
- local date=$(date -Isec)
- echo "WIP slurp, $date at $host"
- }
-
- git add .
- git commit -m "$(mkmsg)"
- git push
|