码迷,mamicode.com
首页 > Web开发 > 详细

linux 用https方式 git pull 代码 免密操作

时间:2018-10-20 16:23:44      阅读:476      评论:0      收藏:0      [点我收藏+]

标签:使用   代码   linu   服务   bigdata   git pull   lob   detail   article   

使用这中http方式 拉去代码时  git clone http://username@ip:host/xxxx项目

如下配置:

进入服务器的项目目录,执行

[root@slave5 ~]#  git config --global credential.helper store

执行之后,继续项目代码路径git pull

[root@slave5 BigData.XNYKDX.ETL]# git pull

重新输入一遍账号密码。然后往后就不需要再输入了

 

参考:https://blog.csdn.net/LJFPHP/article/details/79103679

linux 用https方式 git pull 代码 免密操作

标签:使用   代码   linu   服务   bigdata   git pull   lob   detail   article   

原文地址:https://www.cnblogs.com/zk1023/p/9821692.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!