github / github/app

Could Copilot support a hook or command that runs after it creates a project ...

未关闭
#3,261 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

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) |

贡献指南

打开贡献指南

调研方向

首先追踪应用如何创建 Copilot 项目 worktree,以及如何加载项目特定的设置。确定应在哪里配置和调用每个项目的创建后命令,包括现有的 Git worktree 设置场景。完成的标准是:已配置的命令会在创建后运行,并支持本地设置(例如链接 .env.local),无需手动干预。

由索引模型根据 Issue 内容生成。

评估

技术栈
git
领域
desktop, tooling
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。