![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Git
Git学习笔记以及一些问题解决
小苏勇闯草台班
区块链小白
座右铭:“我可以不优秀,但绝不能不上进!”
展开
-
Git入门笔记
Git1. Git简介1.1 什么是Git1.2 集中式vs分布式2. Git安装2.1 Linux2.2 Windows3. 创建版本库3.1 版本库3.2 创建4. 时光穿梭机4.1 状态查看4.2 版本回退4.3 工作区和暂存区4.4 管理修改4.5 撤销修改4.6 删除文件1. Git简介1.1 什么是GitGit 是一个开源的分布式版本控制系统,用于敏捷高效地处理项目。Git是Linus Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。Git的诞生转载 2021-04-05 15:37:09 · 648 阅读 · 0 评论 -
client_loop: send disconnect: Connection reset by peer
client_loop: send disconnect: Connection reset by peerfatal: sha1 file '<stdout>' write error: Broken pip原因:git push 的文件过大,http.postBuffer默认上限为1M办法:git config --global http.postBuffer 524288000 修改后最大上限为500M...原创 2021-04-05 14:41:12 · 7706 阅读 · 0 评论 -
fatal: refusing to merge unrelated histories
原因本地库与远程库的两个分支是两个不同的版本,具有不同的提交历史git pull或者git push会报错办法git pull origin master --allow-unrelated-histories原创 2021-04-05 14:16:32 · 92 阅读 · 0 评论 -
Git目录路径改动
路径改动会导致git bash here打不开解决办法:1、Win + R2、输入‘regedit’打开注册表3、查找HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_shell\commandHKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_gui\command将其中git bash和git gui的路径修改为新的路径即原创 2021-04-04 09:28:13 · 586 阅读 · 0 评论