git 用户名密码相关

# 安装git flow

sudo apt-get install git-flow

# 设置邮箱和用户名

git config--global user.name $刚刚注册的用户名$

git config --global user.email $刚刚填写的邮箱$

# 取消git对https验证,由于git.ewatt.com没有公开证书

git config --global http.sslVerify false  

# 保存用户密码,不需要每次push都输入密码

git config --global credential.helper store

# 将git://协议替换为https协议

git config --global url."https://".insteadOf git://

猜你喜欢

转载自blog.csdn.net/weixin_41012767/article/details/109050334