Could Copilot support a hook or command that runs after it creates a project ...
- Dominant language
- No language data
- Stars
- 2.1k
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
Could Copilot support a hook or command that runs after it creates a project worktree?
My app needs an ignored `.env.local` file. I use a Git `post-checkout` hook to symlink it from the main checkout, but that hook does not run for Copilot-created worktrees. As a result, I have to set it up manually before I can run the app.
A simple per-project “run this after creating a worktree” setting would solve this and support other local setup needs too.
---
| Field | Value |
| --- | --- |
| App version | 1.1.14 |
| OS | macOS 26.6.2 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Day 7 (Week 1) |
Contributor guide
Research direction
Start by tracing how the app creates Copilot project worktrees and how project-specific settings are loaded. Define where a per-project post-creation command would be configured and invoked, including the existing Git worktree setup case. Done means a configured command runs after creation and supports local setup such as linking .env.local without requiring manual intervention.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git
- Domain
- desktop, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100