From 2950d6f83140501d39570941e9adfaf35e0ad7bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 26 Aug 2018 17:20:01 +0200 Subject: ssh-hook: try to fix fetch --- ssh-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh-hook.sh b/ssh-hook.sh index ee23dd4..67130a5 100755 --- a/ssh-hook.sh +++ b/ssh-hook.sh @@ -4,7 +4,7 @@ if [ -z "$SSH_ORIGINAL_COMMAND" ]; then echo "Pull Laminar config" cd "$(dirname "$(readlink -f "$0")")" - git fetch --prune --force https://git.cynerd.cz/laminar-cnf master:master + git fetch --prune --force git reset --hard origin/master echo "Deploy authorized keys" -- cgit v1.2.3