Authentication failed for
認證失敗,解決辦法:
1、重置驗證設(shè)置git config --system --unset credential.helper
2、在控制面板-用戶賬戶-憑據(jù)管理器,更改git密碼

git記住賬號和密碼的方法:
在git bash 中執(zhí)行命令:
git config --global credential.helper store
輸入一次賬號密碼就可以保存,下次不再提示。
git查看用戶信息
一、查看信息:
查看用戶名?:git config user.name
查看密碼:?git config user.password
查看郵箱:git config user.email
?二、設(shè)置信息(--global 全局設(shè)置)
git config --global user.name "xxxx名稱"
git config --global user.email "xxxx.com郵箱"
git config --global user.password "xxxxx密碼"
三、查看配置
使用
?
git config --list?
查看已設(shè)配置
標簽: