14 lines
148 B
Bash
14 lines
148 B
Bash
#!/bin/bash
|
|
|
|
|
|
git add -A
|
|
if [ "$#" -eq 0 ]; then
|
|
git commit -m "noot"
|
|
else
|
|
array=("$@")
|
|
str="${array[@]}"
|
|
git commit -m "$str"
|
|
fi
|
|
git push
|
|
|