summaryrefslogtreecommitdiff
path: root/ssh-hook.sh
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-08-26 17:20:01 +0200
committerKarel Kočí <cynerd@email.cz>2018-08-26 17:20:01 +0200
commit2950d6f83140501d39570941e9adfaf35e0ad7bc (patch)
tree45a8967f92d34ae0ee7ba03d730caa44b9522c3f /ssh-hook.sh
parent4abf3d4050fcdb3f560137a7c3006eeabbe3221b (diff)
downloadlaminar-cnf-2950d6f83140501d39570941e9adfaf35e0ad7bc.tar.gz
laminar-cnf-2950d6f83140501d39570941e9adfaf35e0ad7bc.tar.bz2
laminar-cnf-2950d6f83140501d39570941e9adfaf35e0ad7bc.zip
ssh-hook: try to fix fetch
Diffstat (limited to 'ssh-hook.sh')
-rwxr-xr-xssh-hook.sh2
1 files changed, 1 insertions, 1 deletions
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"