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