home/categories/git-workflows/lambda-curry-devagent-cursor-skills-worktree-setup-hook-skill-md
git-workflowsdevops

worktree-setup-hook

Post-checkout git hook for automatic worktree setup. Use when: (1) Setting up automatic configuration for new git worktrees, (2) Creating post-checkout hooks that detect new worktrees and run setup tasks, (3) Configuring worktrees to automatically copy env files and install dependencies

lambda-curry
maintainer
lambda-curry
更新於 1/20/2026
星標
3
分支
1
quick start

Installation and usage

Post-checkout git hook for automatic worktree setup. Use when: (1) Setting up automatic configuration for new git worktrees, (2) Creating post-checkout hooks that detect new worktrees and run setup tasks, (3) Configuring worktrees to automatically copy env files and install dependencies

安裝
$ install --globalskills.sh
使用

安裝後,您可以通過在終端運行以下命令來使用此技能:

skills use worktree-setup-hook