如何在 Composer 中使用 config.github-protocols 来选择 git 或 https 协议? Composer 默认优先用 git 协议(SSH)克隆 GitHub 仓库,但在防火墙或 CI 环境中易失败;可通过 config.github-protocols 设为 ["https&... admin 2025-12-23 14 #composer #github协议 #js #git #json #github #防火墙 #端口 #ai #字符串数组