add some comments to code snippets
[web.git] / personal / upload.sh
index 4c4d7c6a6cd1eb5ebb2229bcad71c426f8786375..aac35c48ad2a1d20138516a14a270b297596d370 100755 (executable)
@@ -3,4 +3,9 @@ cd "$(dirname "$0")"
 
 jekyll build
 cd _site
 
 jekyll build
 cd _site
-rsync ./ ralfj.de:srv/www.ralfj.de/docroot/ -aP
+
+git add .
+git diff --cached
+git commit -m "site upload"
+
+rsync ./ www.ralfj.de:/srv/www.ralfj.de/docroot/ -aP --exclude .git