gitee中git不能使用http协议提交项目

git使用https协议提交项目的时候出现以下错误:

error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

这个时候需要将http协议切换为ssh协议的链接:

git remote set-url origin [email protected]:hocker/ffplay_dump_image.git

参考:

  • Git, fatal: The remote end hung up unexpectedly
    Ask

你可能感兴趣的:(错误)