torrent/push_code.sh
2024-01-13 09:38:43 +03:00

10 lines
209 B
Bash
Executable File

#!/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