26 lines
661 B
Markdown
26 lines
661 B
Markdown
---
|
||
title: "GitHub"
|
||
type: entity
|
||
tags: [Git, 代码托管]
|
||
sources: [git-push-connection-reset, china-textbook]
|
||
last_updated: 2026-04-14
|
||
---
|
||
|
||
## Definition
|
||
全球最大代码托管平台,国内访问存在连接限制问题。
|
||
|
||
## Core Attributes
|
||
- 类型:代码托管平台
|
||
- 问题:TCP连接被防火墙阻断(Connection reset)
|
||
|
||
## Connection Issues
|
||
- `Recv failure: Connection was reset`:TCP层面中断
|
||
- 原因:防火墙检测到流量特征,发送TCP RST包
|
||
|
||
## Solutions
|
||
- **代理方案**:配置Git代理走本地V2RayN
|
||
- **SSH方案**:切换到SSH协议(22端口相对稳定)
|
||
|
||
## Connections
|
||
- [[Git]] ← 托管 ← [[GitHub]]
|