我正在尝试使用3342
的8.0 MB
文件在我的仓库中提交一个文件夹。
git commit -m 'add my folder'
git push -u origin master
Counting objects: 3342, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3342/3342), done.
error: RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 32
fatal: The remote end hung up unexpectedly
Writing objects: 100% (3342/3342), 3.77 GiB | 2.48 MiB/s, done.
Total 3342 (delta 2241), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
但它回来了
fatal: The remote end hung up unexpectedly
如果我尝试解决方案,建议qazxsw poi切换到qazxsw poi
here
我明白了:
ssh
至于错误
git remote add origin [email protected]:username/project.git
您可能想要删除现有的遥控器(默认情况下称为原点)或重命名它。使用fatal: remote origin already exists.
检查可用的遥控器并查阅fatal: remote origin already exists.
以获取正确的重命名/删除命令。当然,另一种方法是调整建议的命令
git remote -v
并用替代名称(例如ori-github)替换原点。然后,您必须在将来的命令中使用此原始名称。