![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
「已注销」
这个作者很懒,什么都没留下…
展开
-
Git本地远程仓库的搭建(局域网内也可提交)
寂书万卷 2018-07-09 16:02:06 13357 收藏 23展开Git本地远程仓库的搭建(windows 7专业版)你是否也这样想过?可以在自己的两台或者多台电脑中创建一个仓库,其他电脑的文件或者代码都可以push到这台机器中的git仓库进行版本管理,相当于有一个自己的git远程仓库。 具体的功能可以这样理解:1.功能需求1)创建根仓库(总得仓库,比如本机D盘)里文件可见。2)本地仓库(C盘仓库)可关联根仓库(D盘仓库)并提交。3)局域网其他机器可访问根仓库并可向根...转载 2020-06-09 15:46:21 · 1026 阅读 · 0 评论 -
Git报错:refusing to merge unrelated histories
按照github文档总是无法上传完成,不知道为什么,也许是网络问题,也许是没有初始化?之前都没有问题?然后在仓库新建文件……然后pull和merge就开始报错了refusing to merge unrelated histories然后…………查阅了一下资料,发现可以在pull命令后紧接着使用--allow-unrelated-history选项来解决问题(该选项可以合并两个独立...原创 2019-05-15 09:49:02 · 114 阅读 · 0 评论 -
git初始化报错
Git push到多个远程库路小磊发布于 2014/09/09 09:32https://my.oschina.net/looly/blog/311573记Git报错-refusing to merge unrelated histories2018年06月08日 21:46:24铁乐与猫https://blog.csdn.net/u012145252/articl...转载 2019-06-15 18:36:43 · 363 阅读 · 0 评论 -
360强制粉碎文件夹后丢失,新建失败:npm ERR! Error: EPERM: operation not permitted,stat 'd:\‘
删除src目录出错,删不掉,用360强行删除,结果连git版本都没有了重新新建反复提示没有权限最后发现是vscode正在版本更新,需要重启重启后一切正常还有不可以用360强制粉碎,否则什么都没有了...原创 2019-06-10 16:07:01 · 770 阅读 · 0 评论 -
mpvue小程序报错 Please do not call Page constructor in files that not listed in "pages" section of app.js
按视频提示删除src目录,然后悲剧了先是没有权限删除,然后360强行粉碎后反反复复报错,想git找回来又找不回来,没有远程仓库VM429:1 Please do not call Page constructor in files that not listed in "pages" section of app.json or plugin.jsonconsole.error @ V...原创 2019-06-10 18:36:20 · 1704 阅读 · 0 评论 -
CentOS7 上搭建Git仓库服务
参考:https://blog.csdn.net/and04292/article/details/78725976CentOS7 上搭建Git仓库服务但是有一个问题:还是需要输入密码。而且,密码我根本就不知道。useradd增加的git帐号,密码也不是root,也不是空……无语了。需要自己在centos用root,passwd git重新修改密码。还要8位复杂密码...原创 2019-09-04 12:57:59 · 262 阅读 · 0 评论 -
git push:receive.denyCurrentBranch 推送错误解决
git init后,客户端向服务器推送,结果报错。https://www.cnblogs.com/jeffry/p/5446213.htmlhttp://blog.sina.com.cn/s/blog_5dc29fcc01011hvr.htmlremote: error: is denied, because it will make the index and work tree ...原创 2019-09-04 17:02:57 · 1943 阅读 · 0 评论 -
git remote 新分支直接push
做了一段时间的项目,master主分支,两个分支,现在想随便把2上传到centos虚拟机。git基础不是很熟练。Administrator@DUVTC11GIVDWGOZ MINGW64 /j/proj/test (2)$ git remote add origin git@192.168.44.132:test.gitfatal: remote origin already ...原创 2019-09-04 18:52:40 · 817 阅读 · 0 评论 -
github,gitee,虚拟机,同时配置sshkey
我的本地虚拟机和github需要同时配置sshkey。之前搞虚拟机出问题所以删除了github.但是现在还没有,先记录一下文章。https://blog.csdn.net/weixin_36191602/article/details/80946242Gitee(码云)、Github同时配置ssh key2018年07月06日 21:03:35_Liz阅读数 5710...原创 2019-09-06 18:40:59 · 280 阅读 · 0 评论