summaryrefslogtreecommitdiff
path: root/git/hooks/mosquitone-admin/post-receive
diff options
context:
space:
mode:
authoryyamashita <yyamashita@hetzner.yyamashita.com>2026-06-10 01:30:42 +0900
committeryyamashita <yyamashita@hetzner.yyamashita.com>2026-06-10 01:30:42 +0900
commita7890e22d52677de267e0d4c79f2c7627f3a96c4 (patch)
treeef7c08173df4a32ef5a1bacec79c35d7d696d7d1 /git/hooks/mosquitone-admin/post-receive
parent733ae6e5c4362aa85d54cb7b0674483d3f6862cd (diff)
Add mosquitone-admin repo and Claude session
Register mosquitone-admin as a managed git repo with post-receive checkout hook, and add yyamashita:mosquitone-admin to the Claude Code session list. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'git/hooks/mosquitone-admin/post-receive')
-rw-r--r--git/hooks/mosquitone-admin/post-receive4
1 files changed, 4 insertions, 0 deletions
diff --git a/git/hooks/mosquitone-admin/post-receive b/git/hooks/mosquitone-admin/post-receive
new file mode 100644
index 0000000..9064458
--- /dev/null
+++ b/git/hooks/mosquitone-admin/post-receive
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -e
+GIT_WORK_TREE=/home/yyamashita/workspaces/repos/mosquitone-admin git checkout -f
+echo "Deploy complete: mosquitone-admin"