torrent/push_code.sh

10 lines
209 B
Bash
Raw Normal View History

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