GIT拉突然挂起

问题描述 投票:1回答:1

我不知道为什么最近我的git pull开始挂起

我已经尝试过了]

git fsck && git gc --prune=now

enter image description here


更新

网络防火墙

这是我在Digital Ocean的网络防火墙中设置的内容

enter image description here

我无法上网并ping谷歌

enter image description here

我无法从bitbucket ping或ssh

enter image description here


更新2
└── iptables -S                                                                                                                 
-P INPUT ACCEPT                                                                                                                   
-P FORWARD ACCEPT                                                                                                                 
-P OUTPUT ACCEPT                                                                                                                  



└── ufw status                                                                                                                    
Status: inactive 

我还要检查什么?

我不知道为什么最近我的git pull开始挂起,我已经尝试过这个已经git fsck && git gc --prune = now更新网络防火墙,这是我在数字网络防火墙中设置的。]] >

除了跟踪和协议(在您的情况下为SSH),检查要从其获取的远程托管服务器的状态。

例如,GitHub had an incident yesterday,可以解释克隆/拉取请求中的某些延迟。

DigitalOcean thread提及:

我必须为SSH和DNS UDP添加出站规则

git ubuntu unix ssh git-pull
1个回答
1
投票

除了跟踪和协议(在您的情况下为SSH),检查要从其获取的远程托管服务器的状态。

© www.soinside.com 2019 - 2024. All rights reserved.