crystaldev/push_code.sh

10 lines
209 B
Bash
Raw Normal View History

2024-01-13 11:42:36 +00:00
#!/usr/bin/env bash
set -e
MYDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$MYDIR"
echo "Enter the commit message:"
read commit_message
git add . -A ; git commit -m "$commit_message"; git push