summaryrefslogtreecommitdiff
path: root/bin/wup
diff options
context:
space:
mode:
Diffstat (limited to 'bin/wup')
-rwxr-xr-xbin/wup8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/wup b/bin/wup
new file mode 100755
index 0000000..e10eef4
--- /dev/null
+++ b/bin/wup
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+# Wiki update
+
+cd ~/Wiki
+[ "$(git status --porcelain)" ] && git add . && git commit -m update
+git pull
+git push