随笔分类 -  程序设计 / 版本控制系统 Git

git,github
摘要:Git Line Endings Best Practices 部分内容采用AI生成。 问题背景 在不同操作系统间协作时,Git经常出现换行符问题: Windows使用 CRLF (\r\n) Linux/macOS使用 LF (\n) 这会导致: 大量无意义的diff(全文件变红) 合并冲突 代码 阅读全文
posted @ 2026-06-05 11:51 一杯半盏 阅读(59) 评论(0) 推荐(0)
摘要:解决 Recv failure: Connection reset by peer 第一类:网络问题,这一部分通过命令检查gitconfig 排查是否有 http https proxy的问题。 第二类:如果通过http协议拉取代码,则可以通过检查MacOS的钥匙串或者Windows 凭据管理器。 阅读全文
posted @ 2024-01-07 11:23 一杯半盏 阅读(5656) 评论(0) 推荐(0)
摘要:本文的内容是要解决git使用过程中遇到的错误 1. fatal: unable to access 'https://xxx@github.com/xxx/xxx.git/': The requested URL returned error: 403 2. OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 3. Recv failure: Connection reset by peer 阅读全文
posted @ 2021-09-07 10:29 一杯半盏 阅读(9644) 评论(0) 推荐(0)
摘要:解决Teamcity VCS git-upload-pack not permitted on 阅读全文
posted @ 2021-05-17 19:22 一杯半盏 阅读(1750) 评论(0) 推荐(0)