Blogger Information
Blog 175
fans 1
comment 0
visits 385807
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
git每次提交代码都要输入帐号密码问题
dxp2tq的博客
Original
1722 people have browsed it

第一步:进入Git Bash Here
git config —global credential.helper store

第二步:C:\Users\用户名.gitconfig文件会多出以下代码:
[credential]
helper = store**

第三步:使用git pull或者git push 命令,根据提示输入帐号和密码,生成一个类似C:\Users\用户名.git-credentials文件,用于记录帐号密码。
@gitee.com"">https://帐号:密码@gitee.com

完成以上几步,下次就不用再次输帐号密码了。

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post