BER分博客 - GitLab 2026-06-13T07:38:11+00:00 Typecho https://blog.berfen.com/feed/atom/tag/GitLab/ <![CDATA[从 macOS 钥匙串弹窗到 GitLab SSH:一次自建 GitLab 访问方式优化实践]]> https://blog.berfen.com/post/62.html 2026-06-13T07:38:11+00:00 2026-06-13T07:38:11+00:00 taotecode https://blog.berfen.com 一、问题背景

某些项目在 macOS 上通过 IDE 打开时,会不断弹出类似下面的系统授权窗口:

git-credential-osxkeychain wants to use your confidential information stored in "gitlab.example.internal" in your keychain.

这类弹窗通常不是 GitLab 服务端异常,而是本机 Git 在访问 HTTPS remote 时,调用 macOS Keychain 凭据助手读取用户名、密码或 token。

[...]

]]>