12 lines
147 B
Bash
Executable File
12 lines
147 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd /workspace || exit 1
|
|
|
|
if [ -z "$1" ]; then
|
|
echo "Usage: $0 \"commit message\""
|
|
exit 1
|
|
fi
|
|
|
|
git add .
|
|
git commit -m "$1"
|
|
git push |