在提交项目代码或者拉代码的时候,git会让你输入用户名密码,解决方案:(咱们公司用的是gitlab) 执行git config --global credential.helper store命令git
Administrator@JFQPFYAU9HP5 MINGW64 /f/operation (master) $ git config --global credential.helper store Administrator@JFQPFYAU9HP5 MINGW64 /f/operation (master) $ git push origin master Username for 'http://192.168.1.105': John Everything up-to-date