首页 > 其他 > 详细

git clone 免秘钥

时间:2020-02-27 21:16:58      阅读:80      评论:0      收藏:0      [点我收藏+]

git clone 免秘钥

ssh-keygen -t rsa -C "http://git.gaofeng.com"
git config --global user.name "gaofeng"
git config --global user.email "1234567."
vim .git-credentials
http://gaofeng:1234567.@git.gaofeng.com:83
https://gaofeng:1234567.@github.com
git config --global credential.helper store
cat ~/.gitconfig
git config --global core.autocrlf false
git config -l
cat ~/.gitconfig

然后再去gitlab把本机的id_rsa.pub 弄到gitlab sshkey即可 实现 git clone xxx.git 免秘钥

git clone 免秘钥

原文:https://www.cnblogs.com/sxgaofeng/p/12374119.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!