From: Oleg Broytman Date: Mon, 19 May 2014 17:33:10 +0000 (+0400) Subject: Add update script X-Git-Tag: v0.1~34 X-Git-Url: https://git.phdru.name/?p=phdru.name%2Fcgi-bin%2Fblog-ru%2Fsearch-tags.git;a=commitdiff_plain;h=a5f3997e151ccecaf3a828fef4366f8d8dbbefc5 Add update script --- diff --git a/update b/update new file mode 100755 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