From 08b05bfe7f2f6d413510a30b79dbdecd948bd75c Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 19 May 2014 21:22:36 +0400 Subject: [PATCH] Add update script --- update | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 update 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 -- 2.39.5