
git
weixin_44176432
这个作者很懒,什么都没留下…
展开
-
一台电脑的git同时管理两个GitHub账号
生成ssh公钥 (需要在 .ssh 目录下执行该命令) ssh-keygen -t rsa -C "xxx@xxx.com" // 或者 ssh-keygen -t rsa -C "xxx@xxx.com" -f ~/.ssh/id_rsa_work // id_rsa_work 是设置的文件名 配置config文件 在 .ssh 目录下创建config文件 // 创建 config touch config // 写入 config vim config # one(one@gmail.com)原创 2020-12-03 16:27:28 · 316 阅读 · 0 评论 -
git clone 项目时 SSL certificate problem
fatal: unable to access ‘https://xxxxx/gitlab/username/project-name.git/’: SSL certificate problem: unable to get local issuer certificate 在安装git后,第一次克隆项目遇到了这个问题: 最后得知是没有ssl证书,所以忽略证书就可以了 解决 使用git自带的命令,忽略ssl证书,就可以正常输入用户名和密码克隆项目啦~ git config --global http.s原创 2020-10-27 15:50:51 · 227 阅读 · 0 评论 -
git submodules
git modules 用法原创 2020-04-06 20:07:39 · 229 阅读 · 0 评论