
Git
文章平均质量分 79
purple尘
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
将github代码迁移至私有服务器
假设私有服务器ip为1.2.3.4原地址为:[email protected]:[gitUserName]/[gitCodePath].git新地址为:[email protected]:/home/git/codes/localName.git一共涉及:Client机器、git私有服务器、git原地址1. 迁移:登录Client机器,clone一份裸版本库:git clone --bare [email protected]:[gitUserName]/[gitCodePath].git localName.g原创 2021-07-26 13:04:19 · 1103 阅读 · 0 评论 -
git增加remote地址并推代码
增加远程地址:git remote add [name][url]参考:https://docs.github.com/cn/free-pro-team@latest/github/using-git/adding-a-remote推代码:git push [name]如果报错error: src refspec XXX matches more than one,则参考:https://github.com/fygethub/blog/issues/9要么删除b...原创 2020-11-18 18:06:43 · 1225 阅读 · 0 评论 -
BAE使用git push出现错误:fatal: The remote end hung up unexpectedly
原因: 百度谷歌搜了一堆后发现是git的buffer太小,而我上传的文件中有一个3Mb的tgz,所以上传就失败了。解决方案: git config http.postBuffer 4145728PS: git config --list可以显示当前git 的配置。原创 2015-07-07 18:15:31 · 710 阅读 · 0 评论 -
git学习笔记
学习地址传送门:http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000 笔记(部分是自己扩展的): 1、查看版本:git log “git log命令显示从最近到最远的提交日志,我们可以看到3次提交,最近的一次是“append GPL”,上一次是“a...原创 2014-07-14 10:31:24 · 773 阅读 · 0 评论