aboutsummaryrefslogtreecommitdiff
path: root/post-receive
diff options
context:
space:
mode:
Diffstat (limited to 'post-receive')
-rw-r--r--post-receive4
1 files changed, 1 insertions, 3 deletions
diff --git a/post-receive b/post-receive
index fcc9eeb..15f816f 100644
--- a/post-receive
+++ b/post-receive
@@ -7,9 +7,7 @@ fi
# remote: fatal: not a git repository: '.'
# https://git-scm.com/docs/githooks#_description
unset GIT_DIR
-
-# Update worktree
-cd $(git worktree list | grep main | cut -d' ' -f1)
+cd $(git worktree list | grep master | cut -d' ' -f1)
git submodule update
# Manually copy static since btrfs COW is super fast