Scripts/gitea.sh

20 lines
389 B
Bash
Raw Normal View History

2021-02-13 22:57:22 +01:00
#!/bin/bash
# Gitear cambios
# Por Moribundo Insurgente
clear
echo "Giteando cambios"
echo
2021-02-13 22:59:34 +01:00
sleep 1
2021-02-13 22:57:22 +01:00
git add .
read -p "Introduce commit: " commit
git commit -m "$commit" -a
sleep 1
echo
echo
2021-02-13 22:59:34 +01:00
read -p "Introduce ruta a la rama https://git.disroot.org/Moribundo/ (ejemplo Scripts/Media): " ruta
2021-02-13 22:57:22 +01:00
git push https://git.disroot.org/Moribundo/$ruta
2021-02-13 22:59:34 +01:00
echo
echo
2021-02-13 22:57:22 +01:00
echo "Push terminado con éxito"
exit