随笔分类 -  【Git 相关】

摘要:#事故现场 执行git commit命令提示:"Please tell me who you are" 意思是,Git想知道提交代码的是谁,造成这个现象的原因可能是第一次提交代码,也有可能是长时间不操作,需要重新验证下。 #解决方案 在Git控制台输入一下命令 git config --global 阅读全文
posted @ 2020-06-22 15:36 willingtolove 阅读(2283) 评论(0) 推荐(0) 编辑
摘要:git 命令 git remote v 结果 阅读全文
posted @ 2020-01-20 17:08 willingtolove 阅读(29300) 评论(0) 推荐(0) 编辑
摘要:[toc] 事故现场 Git操作的时候突然报错: Unable to create 'D:/xxx/.git/index.lock': File exists. Another git process seems to be running in this repository, e.g.an ed 阅读全文
posted @ 2020-01-07 20:11 willingtolove 阅读(19768) 评论(0) 推荐(3) 编辑
摘要:[toc] 事故现场 新建的远程仓库,本地pull的时候出现这错误; 原因 这个仓库还没有文件,空的,直接push本地修改就可以了,不需要pull了。 阅读全文
posted @ 2020-01-03 19:36 willingtolove 阅读(4420) 评论(0) 推荐(0) 编辑
摘要:[toc] 一、事故现场 git push 的时候报错如下: 将分支推送到远程存储库时遇到错误:Git failed with a fatal error, the romote end hung up unexpectedly RPC failed;HTTP 411 curl 22 The req 阅读全文
posted @ 2019-11-19 21:10 willingtolove 阅读(1068) 评论(0) 推荐(0) 编辑
摘要:[toc] 一、需求: 将一个本地的项目推送到一个新建的远程仓库中; 二、较快捷的操作: 1、创建一个远程仓库 以此为例:http://192.168.1.183/git/pspb.git 2、初始化本地git仓库配置 在项目的根目录下,打开gitbash,执行如下命令: 3、添加远程仓库 4、将项 阅读全文
posted @ 2019-11-19 20:34 willingtolove 阅读(6290) 评论(0) 推荐(2) 编辑

点击右上角即可分享
微信分享提示