git impossible to push after add

前端 未结 3 1004
时光取名叫无心
时光取名叫无心 2020-12-16 17:57

Ok, I\'ve a trouble that I\'m not able to fix since some week. I use git (on github) to store my projects. Recently I\'ve added some new files in it without problems, but, w

3条回答
  •  别那么骄傲
    2020-12-16 18:28

    I saw this exact same problem that a colleague was having and it was network related with SSH, we were using a VPN connection at the time and it ended up being the network MTU setting being too high (it was 1492 if I remember correctly), we tinkered around with smaller values until it started working. So something to do with network packet splitting it seemed.

    Not sure if this is the case for you however although it doesn't hurt to try change your network MTU to a lower value to see if it works.

    Of course if it's an issue on Github's side, this won't be a factor (the fact you can create a new repo and push up leads me to believe it's not MTU related).

提交回复
热议问题