12 lines
140 B
Bash
Executable File
12 lines
140 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
if [ $# -eq 0 ]; then
|
|
echo "Usage: $0 <commit message>"
|
|
exit 1
|
|
fi
|
|
|
|
git add -A
|
|
git commit -m "$*"
|
|
git push origin main
|