From adc2036a3648ddd1f801e1d3e718606209f8c5dd Mon Sep 17 00:00:00 2001
From: Anas Alshare <anas.share@gmail.com>
Date: Mon, 27 Nov 2017 11:48:37 +0200
Subject: [PATCH] test auto

---
 participants/elshare.anas/Flafel  |  0
 participants/elshare.anas/auto.sh | 15 +++++++++++----
 2 files changed, 11 insertions(+), 4 deletions(-)
 create mode 100644 participants/elshare.anas/Flafel

diff --git a/participants/elshare.anas/Flafel b/participants/elshare.anas/Flafel
new file mode 100644
index 0000000..e69de29
diff --git a/participants/elshare.anas/auto.sh b/participants/elshare.anas/auto.sh
index 93a5a94..0910384 100644
--- a/participants/elshare.anas/auto.sh
+++ b/participants/elshare.anas/auto.sh
@@ -10,7 +10,14 @@ pandoc -s -t html 3D_printer.md -o 3D_printer.html
 pandoc -s -t html final_project.md -o final_project.html
 pandoc -s -t html About_Fab.md -o About_Fab.html
 echo "All Files Converted to HTML."
-git pull
-git add .
-git commit -m "Update"
-git pull && git push
+if [ "$#" -gt 0 ]
+then
+  cd ..
+  cd ..
+  git pull
+  git add .
+  git commit -m "$*"
+  git pull && git push
+else
+  echo "Not Uploading (Empty)"
+fi
-- 
GitLab