Claude Code 误把密钥 commit 进 git:先 rotate、再清史、后封堵
Claude Code 把你的 `.env` 或 API key 卷进了 commit。先 rotate 密钥(永远第一步),再清 git 史,最后用 deny 规则、scanner、push protection 彻底封堵。
带有该标签的文章
Claude Code 把你的 `.env` 或 API key 卷进了 commit。先 rotate 密钥(永远第一步),再清 git 史,最后用 deny 规则、scanner、push protection 彻底封堵。