赞
踩
使用git bash ssh-keygen或puttygen.exe生成公钥。
下面命令会将下次弹框的账号和密码保存起来,永久使用。
git config --global credential.helper store如果想要清除该账号和密码,使用如下命令:
git config --global credential.helper reset想要临时存储(默认15min),使用如下命令
git config --global credential.helper cachewindows下的临时存储命令不是上面的,应该使用下面的命令
git config --global credential.helper wincred
在https链接里加入username:password。
git remote add origin https://username:password@xxx.git
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。