projects
/
web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add Reddit link
[web.git]
/
personal
/
upload.sh
diff --git
a/personal/upload.sh
b/personal/upload.sh
index 6733051ce12ba7dc3b8620c1616fbadd6057152c..aac35c48ad2a1d20138516a14a270b297596d370 100755
(executable)
--- a/
personal/upload.sh
+++ b/
personal/upload.sh
@@
-3,4
+3,9
@@
cd "$(dirname "$0")"
jekyll build
cd _site
jekyll build
cd _site
-rsync ./ www.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