新增wiki命令文件
This commit is contained in:
31
wiki/sources/git-push-connection-reset.md
Normal file
31
wiki/sources/git-push-connection-reset.md
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
title: "Git Push 连接重置问题修复"
|
||||
type: source
|
||||
tags: [Git, GitHub, Proxy, SOCKS5]
|
||||
date: 2026-04-14
|
||||
source_file: raw/Technical/Git Push 连接重置问题修复.md
|
||||
---
|
||||
|
||||
## Summary
|
||||
- 核心主题:解决国内访问GitHub时Git Push连接重置问题
|
||||
- 问题域:TCP连接层面被防火墙阻断
|
||||
- 方法/机制:配置Git代理 / 切换到SSH协议
|
||||
- 结论/价值:让Git流量走本地代理通道是根本解决方案
|
||||
|
||||
## Key Claims
|
||||
- `Recv failure: Connection was reset`是TCP连接层面中断,不是权限问题
|
||||
- GFW检测到流量特征后发送TCP RST包阻断连接
|
||||
- 为Git单独配置代理不影响其他命令
|
||||
|
||||
## Key Concepts
|
||||
- [[Git代理配置]]:为Git单独设置HTTP/SOCKS5代理
|
||||
- [[SSH协议切换]]:从HTTPS切换到SSH连接GitHub
|
||||
|
||||
## Key Entities
|
||||
- [[GitHub]]:代码托管平台
|
||||
|
||||
## Connections
|
||||
- [[Trae远程开发部署指南]] ← 开发协作 ← [[Git-Push-连接重置]]
|
||||
|
||||
## Contradictions
|
||||
- 尚未发现
|
||||
Reference in New Issue
Block a user