diff --git a/participants/saadeh.murad/auto.sh b/participants/saadeh.murad/auto.sh index f7c5b3daf3bbd9794de813cf47aa7ee476ec5d34..367aa5719b46e2bbb13cd46348dc983e0f8ca380 100644 --- a/participants/saadeh.murad/auto.sh +++ b/participants/saadeh.murad/auto.sh @@ -9,14 +9,17 @@ pandoc -s -t html vinyl.md -o vinyl.html pandoc -s -t html linux.md -o linux.html pandoc -s -t html shopbot.md -o shopbot.html echo " all the files converted to HTML" -if [ "$#" -gt 0 ] # if there is something typed after bash auto.sh it will go into this loop +if [ "$#" -gt 0 ] +# if there is something typed after bash auto.sh it will go into this loop then cd .. cd .. -git pull -gitl add . -git commit -m "$*" # the push file comment will be the same exact words you typed after bash auto.sh -git pull && git push # to pull and push at the same time, just in case someone has pushed + git pull + git add . + git commit -m "$*" + # the push file comment will be the same exact words you typed after bash auto.sh + git pull && git push +# to pull and push at the same time, just in case someone has pushed else echo "Not uploading (empty commit messsage, type something next to bash auto.sh )" fi