Tyleo-Dev-ShellScripting-Ol.../GITScripts/gitlabmaster.sh
2024-02-18 22:29:57 +01:00

10 lines
482 B
Bash

# Script for adding, commiting and pushing on gitlab or github.
echo "Adding all"
sleep 1
git add * || echo "Adding failed, check your files !"
echo "Commit everything, enter your message !"
sleep 1
git commit || echo "Commiting failed, check your connection and your git clone"
echo "Pushing ! Enter your ID and Pass !"
git push || echo "Incorrect password, login or bad internet connection (upper 100ms ping)"
echo "Is done ! your master has been updated, active folder is `pwd`"