git查看用户名、邮箱
git config user.name 
git config user.email 
也可以在系统,用户文件夹下面 gitconfig查看
- 通常无法查看git密码,运行以下命令
 
git config credential.helper 
- 查看储存的方式,如果是manage 或manage-store则说明是系统管理的凭证(win7系统好像可以查看,win10没有查看功能)。则需要改为store的方式形式去储存密码
 
git config --global credential.helper store 
可以在运行第一步命令行查看 是store就说明改为明文的方式
此时可以在系统的用户文件夹下面生成一个.git-credentials文件,密码就在里面
位置: C:\Users\***\ .git-credentials
以及在这个文件的边上 你会看到gitconfig配置文件,也可以不用命令行直接在这里修改 helper的类型为store










