From 93deded1025398956d908bff41f230a6e9cdaf26 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Fri, 17 Jan 2020 17:01:49 +0100 Subject: add bin/wup --- bin/wup | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 bin/wup (limited to 'bin/wup') diff --git a/bin/wup b/bin/wup new file mode 100755 index 0000000..eec3e85 --- /dev/null +++ b/bin/wup @@ -0,0 +1,8 @@ +#!/bin/sh + +# Wiki update + +cd ~/Wiki || exit 1 +[ "$(git status --porcelain)" ] && { git add .; git commit -m update; } +git pull +git push -- cgit v1.2.3