Git怎么治?

关于Git这一篇就够了_17岁boy想当攻城狮的博客-CSDN博客_git 模块管理

1_错误代码:RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

$ git clone https://github.com/CesiumGS/cesium-workshop.git
Cloning into 'cesium-workshop'...
remote: Enumerating objects: 43, done.
remote: Counting objects: 100% (43/43), done.
remote: Compressing objects: 100% (37/37), done.
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

1_处理方案:

git config --global  http.sslVerify "false"

2_如何删除已经add的文件:

git rm --cached  文件名

3_将已有的一个项目推送到另外一个git:

 git push --mirror ***.git
  • git push <origin> <master> 拷贝和提交某个分支.
  • git push --mirror <remote-git-url> 拷贝所有分支.

4_错误代码:

4.1:Permission denied (publickey). fatal: Could not read from remote repository.

4.2:

  1. fatal: unable to connect to gitee.com:

  2. gitee.com[0: 212.64.62.174]: errno=No such file or directory

4.3:

  Permission denied (publickey).ssh

  fatal: Could not read from remote repository.google

  Please make sure you have the correct access rights3d

 and the repository exists.cdn

4_处理方案:

在git.bash.窗口输入:

ssh-keygen -t rsa -C "邮箱地址"

然后一直回车就行,操作成功后会在C:\Users\Administrator目录下生成一个.ssh目录,内容如下:

 

5_如何在md文件中加入图片:

如何在README.md文件中添加图片 - 走看看

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值