github / github/copilot-cli

unable to bypass `Confirm folder trust`

未关闭
#1,121 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:configuration area:permissions
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

```
╭────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Confirm folder trust │
│ │
│ ╭────────────────────────────────────────────────────────────────────────────────────────────────╮ │
│ │ ******* │ │
│ ╰────────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ Copilot may read files in this folder. Reading untrusted files may lead Copilot to behave in │
│ unexpected ways. With your permission, Copilot may execute code or bash commands in this folder. │
│ Executing untrusted code is unsafe. │
│ │
│ Do you trust the files in this folder? │
│ │
│ 1. Yes │
│ 2. Yes, and remember this folder for future sessions │
│ ❯ 3. No (Esc) │
│ │
│ Confirm with number keys or ↑↓ keys and Enter, Cancel with Esc │
╰────────────────────────────────────────────────────────────────────────────────────────────────────╯
```
i'm running `copilot` on terminal clearly because i trust the folder; it'd be great if there were a setting to disable the `Confirm folder trust` behavior by default.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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