diff options
author | Karel Kočí <cynerd@email.cz> | 2018-08-26 17:20:01 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-08-26 17:20:01 +0200 |
commit | 2950d6f83140501d39570941e9adfaf35e0ad7bc (patch) | |
tree | 45a8967f92d34ae0ee7ba03d730caa44b9522c3f | |
parent | 4abf3d4050fcdb3f560137a7c3006eeabbe3221b (diff) | |
download | laminar-cnf-2950d6f83140501d39570941e9adfaf35e0ad7bc.tar.gz laminar-cnf-2950d6f83140501d39570941e9adfaf35e0ad7bc.tar.bz2 laminar-cnf-2950d6f83140501d39570941e9adfaf35e0ad7bc.zip |
ssh-hook: try to fix fetch
-rwxr-xr-x | ssh-hook.sh | 2 |
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" |