好吧,我有一个麻烦,因为有些星期以来我无法修复.我使用git(在github上)来存储我的项目.最近我添加了一些新文件没有问题,但是,当我使用"git push"时,我有一个超时错误.
我使用Ubuntu 12.04,ssh(默认)和https.
所以,我决定制作depo(git clone)的新副本.在此之后,我修改现有文件,提交并推送它...成功!
所以,我添加其他(在新副本中),提交它们并推送它们.问题再次出现:无法推送这是控制台输出:
time git push
Counting objects: 13, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 16.61 KiB, done.
Total 11 (delta 2), reused 0 (delta 0)
^C
real 7m59.383s
user 0m0.008s
sys 0m0.004s
Run Code Online (Sandbox Code Playgroud)
我真的不明白我在这里做错了什么.我在其他depo,同样的问题,但我的合作者没有任何麻烦.
我删除git,并重新安装它没有任何变化.
如果您有任何想法可以解决这个问题.
git remote -v
origin git@github.com:Krozark/projet_compilation.git (fetch)
origin git@github.com:Krozark/projet_compilation.git (push)
Run Code Online (Sandbox Code Playgroud)
sudo ifconfig [wlan0] mtu 1460 (lower than 1500)
Run Code Online (Sandbox Code Playgroud)