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 摘要。