git报错the remote end hung up unexpectedly
1、我们在使用git命令push代码的时候,会提示“the remote end hung up unexpectedly”,如图所示。

3、如果找不到,可以点击该项目所在文件夹上面的“查看”,如图所示。

5、找到.git文件夹之后,点击进入,找到其中的“config”文件,也就是git的配置文件,如图所示。

7、此时重新执行git push命令,代码就可以成功的推送到代码仓库,如图所示。

8、以上就是git报错the remote end hung up unexpectedly的解决办法,希望可以帮到大家。