네트워크 문제는 진단하기 까다롭고 기본 Git 작업이 실패하기 때문에 우리가 할 수 있는 일이 많지 않습니다. 대규모 리포지토리와 함께 Git LFS를 사용하는 경우 이 구성 옵션을 사용하여 제한 시간을 늘릴 수 있습니다.
git config lfs.activitytimeout 30
이 구성은 HTTP 클라이언트가 다음 TCP 읽기 또는 쓰기를 기다리는 최대 시간(초)을 설정합니다. 기본값은 10초입니다.
시간 초과에 대한 추가 진단을 제공하거나 적어도 도움이 될 수 있는 일부 HTTP 시간 초과 구성 작업도 있습니다. 한 사용자는 이전에 다음 명령으로 성공했습니다.
git config --global http.lowSpeedLimit 1000
git config --global http.lowSpeedTime 20
는 lowSpeedLimit초당 최소 바이트를 구성하고 는 lowSpeedTime초 수입니다. 작업이 설정된 시간 동안 해당 임계값보다 낮으면 시간 초과됩니다. 이러한 값을 조정하면 시간 초과에 도움이 될 수 있습니다.
이러한 제안 중 어느 것도 작동하지 않으면 SSH 키를 설정 하는 것이 좋습니다 . 일부 사용자는 네트워크 문제가 발생할 때 더 성공적이었습니다. Repository그런 다음 > Repository Settings> 로 이동하여 GitHub Desktop에서 SSH를 사용하도록 원격 URL을 전환할 수 있습니다 Remote. 도움이 되길 바랍니다.