projects
/
web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
it's also Ruby syntax
[web.git]
/
research
/
upload.sh
diff --git
a/research/upload.sh
b/research/upload.sh
index 6832be43c8699654210aaa60026e2da4cac1a5dd..f0268be2af25c0261ef733555fc96e12eeee0ea6 100755
(executable)
--- a/
research/upload.sh
+++ b/
research/upload.sh
@@
-5,9
+5,7
@@
jekyll build
cd _site
git add .
-if ! git diff --cached; then
- # There are changes
- git commit -m "site upload"
-fi
+git diff --cached
+git commit -m "site upload"
rsync ./ mpi-contact:public_html/ -aP --exclude .git