摘要: git同步遇到报错 “fatal: unable to access ‘https://github.com/ruanwenwu/newp.git/‘: Peer reports incompatible or unsupported protocol version.”网上很多人说是因为git版本 阅读全文
posted @ 2018-05-07 12:26 春天的风情 阅读(1068) 评论(0) 推荐(0) 编辑
摘要: 今天在弄jenkins一建发版,遇到了git下载每次都要输入账号密码,所以百度一下,使用一下方法,搞定 一、通过文件方式 1.在~/下, touch创建文件 .git-credentials, 用vim编辑此文件,输入内容格式: 在里面按“i”然后输入: https://{username}:{pa 阅读全文
posted @ 2018-05-07 12:12 春天的风情 阅读(4967) 评论(0) 推荐(1) 编辑
摘要: 三台centos 一台服务器192.168.2.152 一台客户端192.168.2.142 一台客户端192.168.2.151(1)产生无密钥 [root@localhost ~]# ssh-keygen -t dsaGenerating public/private dsa key pair. 阅读全文
posted @ 2018-05-07 12:09 春天的风情 阅读(696) 评论(0) 推荐(0) 编辑