github / github/copilot-cli

session worktree bug

Open
#2,724 0 comments 0 reactions 0 assignees View on GitHub
area:configuration area:sessions
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

- Copilot CLI 创建 session worktree 时,未将主仓库中 .gitignore 忽略的本地文件/目录同步过来
- 影响依赖这些目录的工作流(如 OpenSpec、MCP 配置等)

### Affected version

_No response_

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

No file, test, reproduction steps, or entry point is named. Start by locating the session worktree creation path and examining how .gitignore-ignored local files and directories are handled; done means those paths are available in the session worktree, including workflows such as OpenSpec and MCP configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.