git 查看用户和邮箱
git config user.name git config user.email
git修改邮箱、用户名、密码
git config --global user.name 'userName' // 修改登陆账号,userName为你的git账号 git config --global user.email 'email' // 修改登陆邮箱,email为你的git邮箱 git config --global user.password 'password' // 修改登陆密码,password为你的git密码
从git上clone代码报错:
fatal: unable to access 'https://github.com/xxxx/xxxxx.git/': schannel: failed to receive handshake, SSL/TLS connection failed
or
git Unable to access ‘https://github.com/xxxx/xxxx.git/’:OpenSSL SSL_read:Connection was reset
解决方式:
git config --global http.sslVerify false