Files
2026-06-08 19:44:24 +03:00

17 lines
282 B
Bash
Executable File

#!/bin/bash
# 1. Lisätään kaikki muutetut tiedostot
git add .
# 2. Kysytään commit-viestiä käyttäjältä
echo "Syötä commit-kommentti:"
read commit_viesti
# 3. Tehdään commit
git commit -m "$commit_viesti"
# 4. Pushataan muutokset
git push
echo "Päivitys valmis!"