GitHub Copilot 預設用你的程式碼訓練 AI:4 月 24 日前必須手動退出 | GitHub Copilot Will Train AI on Your Code by Default — Opt Out Before April 24
By Kit 小克 | AI Tool Observer | 2026-03-28
🇹🇼 GitHub Copilot 預設用你的程式碼訓練 AI:4 月 24 日前必須手動退出
2026 年 3 月 25 日,GitHub 悄悄更新了隱私政策與服務條款。結論很簡單:如果你是 Copilot Free、Pro 或 Pro+ 用戶,你的互動資料現在預設會被拿去訓練 AI 模型。 除非你在 4 月 24 日前主動退出,否則就算默許了。
究竟收集了什麼?
GitHub 表示收集的範圍包括:
- 你輸入的 prompt(例如:「幫我寫一個 API endpoint」)
- Copilot 回傳的建議程式碼
- 你接受或拒絕建議的行為(即「反饋訊號」)
- 互動時的程式碼上下文
GitHub 特別澄清:私有 repo 的程式碼內容本身不直接用於訓練,但「在私有 repo 中工作時的 Copilot 互動」仍在收集範圍內。這條界線劃得很微妙,很多開發者不買帳。
Copilot Business 和 Enterprise 方案的用戶不受影響,這些企業版本維持不收集資料的政策。
為什麼這件事很重要
問題不只是「收集資料」,而是 預設值的逆轉。GitHub 過去的政策是「預設退出」——除非你主動同意,否則資料不會被用於訓練。現在改成「預設加入」,你必須知道這件事、找到設定頁面、手動關閉,才能保護自己。
對普通開發者來說,Copilot 的使用場景可能包含:
- 公司內部的商業邏輯程式碼
- 包含 API 金鑰或敏感設定的上下文
- 尚未公開的產品功能
這些場景下,「互動資料」的邊界可能比你想像的更模糊。
如何在 4 月 24 日前退出
操作步驟很簡單,但 GitHub 並沒有主動通知你:
- 前往 GitHub → Settings → Privacy
- 取消勾選 「Allow GitHub to use my data to improve GitHub products and services」
- 儲存變更即可
整個流程不到一分鐘,但你必須自己找到這個選項。
實際怎麼看這件事?
從 GitHub/Microsoft 的角度,這是合理的商業決策:Copilot 要持續進步,需要真實的開發者行為資料,而免費用戶的互動是最自然的訓練來源。
但從開發者信任的角度,這是一個訊號:當你用免費或低價工具工作,你的行為本身就是產品。 這不是新鮮事,但當它發生在程式碼和工作上下文,值得認真思考。
不想讓資料被收集?在 4 月 24 日之前退出。 這才是這篇文章最重要的一句話。
好不好用,試了才知道——但試之前,先確認你知道自己把什麼交出去了。
🇺🇸 GitHub Copilot Will Train AI on Your Code by Default — Opt Out Before April 24
On March 25, 2026, GitHub quietly updated its Privacy Statement and Terms of Service. The bottom line: if you use Copilot Free, Pro, or Pro+, your interaction data is now collected by default to train AI models. Unless you actively opt out before April 24, you have implicitly consented.
What Data Is GitHub Collecting?
According to the updated policy, GitHub collects:
- Your prompts typed into Copilot Chat
- Code suggestions Copilot returned to you
- Whether you accepted or rejected each suggestion (feedback signals)
- Code context present during interactions
GitHub clarified that the contents of private repositories are not used directly — but "interactions that occur while working in a private repo" are included. That is a fine line that many developers find unconvincing.
Copilot Business and Enterprise subscribers are not affected. Those paid tiers maintain the no-training policy.
Why This Actually Matters
The problem is not just data collection — it is the reversal of the default. GitHub's previous policy was opt-out: your data was never used unless you explicitly permitted it. The new policy flips this to opt-in: your data is used unless you know to look for the setting and disable it yourself.
For most developers, Copilot interactions happen in real work contexts that may contain:
- Proprietary business logic and internal systems
- Code context that references API keys or environment configs
- Unreleased product features and architecture decisions
The line between "interaction data" and "code content" is blurrier in practice than the policy language suggests.
How to Opt Out Before April 24
The process takes under a minute — but GitHub is not actively notifying users:
- Go to GitHub Settings
- Click Privacy in the left sidebar
- Uncheck "Allow GitHub to use my data to improve GitHub products and services"
- Save your changes
That is it. The option exists; you just have to find it yourself.
The Honest Take
From GitHub's perspective, this makes business sense. Copilot needs real developer behavior to improve, and free-tier users are the most natural source. Training on real-world code interaction patterns produces a better product.
From a developer trust perspective, this is a reminder: when you use free or low-cost tools for your work, your behavior is the product. That is not new — but when it applies to your codebase and work context, it is worth thinking about carefully.
If you do not want your data used, opt out before April 24. That is the single most important sentence in this article.
The rest is up to you to decide — because you won't really know until you try it.
Sources / 資料來源
- GitHub Changelog: Updates to Privacy Statement and Terms of Service
- The Register: GitHub going to train on your data after all
- TechSpot: GitHub Copilot Will Use Your Data for AI Training by Default
AI 工具觀察站 — 每日精選 AI Agent 與工具趨勢
AI Tool Observer — Daily curated AI Agent & tool trends
留言
張貼留言