全局设置

git config --global user.name [username] 
git config --global user.password [userpassword] 

当前项目生效

git config user.name [username] 
git config user.password [userpassword] 

如果想要免密码操作,正常上传或拉去数据后,执行下面语句,即可

git config --global credential.helper store

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐