Ensimmäinen commit
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/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!"
|
||||
Reference in New Issue
Block a user