windows - Windows 上的 .git-credentials:每次提取时添加一行
问题描述
我将 git 配置为使用 Windows 凭据管理器
[credential]
helper = manager
然而,每次 I 时git fetch
,都会在我的 .git-credentials 中添加一个重复的行。
C:\Work> type %USERPROFILE%\.git-credentials
https://usename:MyPassword@server.example/
https://usename:MyPassword@server.example/
https://usename:MyPassword@server.example/
https://usename:MyPassword@server.example/
...
如果我删除该文件,它会重新创建并重复该行为。
这可以停止吗?
git 版本为 2.21.0(由 IT 管理)
解决方案
推荐阅读
- rest - 什么是 HP-ALM 用于获取缺陷历史数据的 REST API
- android - 可以将现有的 apk 版本迁移到 App Bundle 格式吗?
- c# - GridView ComboBox - 绑定选定的元素属性
- arrays - 在实现堆栈和队列时,数组相对于链表的优势是什么
- sql-server - 使用 sqlpackage.exe 自定义 SQL Server Data Tools (SSDT) 包的部署,以因环境而异
- python - stats.nba.com 的 Python urllib 请求和 urlopen 超时
- angular - Angular路由器在重定向之前加载组件?
- java - 如何在 RxJava 中使用 HttpURLConnection?
- google-api - 即使在服务器到服务器身份验证之后也无法使用 Google Play Developer API
- javascript - 将 Ajax 数组插入日期范围选择器