13 lines
136 B
Bash
13 lines
136 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
text="$1"
|
||
|
|
||
|
if [ -z "$1" ]; then
|
||
|
echo "Commit text:"
|
||
|
read text
|
||
|
fi
|
||
|
|
||
|
git pull
|
||
|
git add .
|
||
|
git commit -m "$text"
|
||
|
git push
|