![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
Let'sCode
搬砖,搬砖,再搬砖
展开
-
fatal: The remote end hung up unexpectedly03 GiB | 480.00 KiB/s fatal: early EOF fatal: index-
Git fatal: the remote end hung up unexpectedly错误解决方案一文中认为主要原因要么是缓存不够,要么是网络不行,通过如下配置解决:# 修改全局提交缓存大小git config --global http.postBuffer 524288000# 修改全局下载最低速度以及对应的最长时间git config --global http.lowSpeedLimit 0git config --global http.lowSpeedTime 999999原创 2021-07-13 11:38:16 · 430 阅读 · 0 评论 -
常用git操作记录
查看提交记录git log --oneline --graph 查看提交git reflog合并分支:git merge issue_dev #主分支上合并问题分支查看差异git diff HEAD #也可以时其他IDgit diff --cached #文件为可提交状态(staged)切换到master分支:git checkout master创建并切换到issue_dev分支git checkout -b issue_dev回退单个文件到某个版本git checkout 3a原创 2021-01-27 20:10:05 · 90 阅读 · 0 评论