git账号密码替换
git账号密码替换。git提示无权限。使用“git config --global user.email “xxx.com””不生效。使用“git config user.email”查看确实已替换。
·
场景:公司换邮箱了,git clone新项目提示无权限。使用“git config --global user.email “xxx.com””不生效。使用“git config user.email”查看确实已替换。
进行手动替换。原因未深究。
- 打开“控制面板”–>“凭据管理器”
凭据管理器可直接从“我的电脑”“属性”中搜索进入。
- 选择“Windows凭据”,查看“普通凭据”,找到git。
- 选择“编辑”,修改后保存即可。
更多推荐
已为社区贡献1条内容
所有评论(0)