【发布时间】:2021-11-30 17:35:54
【问题描述】:
我已经看到 git config user.password 在多个 Stack Overflow 答案中被推荐为保存 git 用户凭据的一种方式。
How can I save username and password in Git?
How to change my Git username in terminal?
Retyping Username and Password in Git Bash for Github access
但是,我在the Git documentation 中找不到任何提及user.password 的内容,只有user.name 和user.email。似乎没有一个答案链接到关于它究竟做了什么或如何使用它的资源。
什么是git config user.password,你如何使用它?它是配置凭据管理器的另一种方法,还是有什么不同?
【问题讨论】:
标签: git authentication config