連接 GitHub(AntiGravity 版)
步驟
1. 檢查
gh auth status
2. 登入
gh auth login --web --git-protocol https
3. 設定 Git 使用者
git config --global user.name "你的名字"
git config --global user.email "your-email@example.com"
4. 安全規則
- 不把 GitHub token 寫進 Markdown、AGENTS 或 repo
- commit 前先檢查 diff,不無差別
git add .