关于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:
-
fatal: unable to connect to gitee.com:
-
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文件中加入图片: