]> git.phdru.name Git - extfs.d.git/blobdiff - update
Add update script
[extfs.d.git] / update
diff --git a/update b/update
new file mode 100755 (executable)
index 0000000..9d996d8
--- /dev/null
+++ b/update
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+current="`git config --get remote.current.url`" &&
+
+git pull --ff-only current master && git push web &&
+
+cd "$current" &&
+exec git pull origin