![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
gitblit
迷阵
懒狗前端
展开
-
Git--no matching host key type found. Their offer: ssh-rsa
windows下使用git bash拉代码报错如下:Unable to negotiate with 192.168.133.58 port 29418: no matching host key type found. Their offer: ssh-rsafatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exis转载 2022-03-02 19:36:23 · 4705 阅读 · 0 评论 -
git--文件夹有个白色小箭头且不能点击进入(取消对子模块的控制)
文件夹有个白色小箭头且不能点击进入解决方案git rm --cached main # 删除对子模块HEAD的引用(没有末尾斜杠)git rm .gitmodules # 如果你有多于一个子模块,你需要编辑这个文件而不是删除它!rm -rf main/.git # 确保你有备份!!!git add main # 将添加文件而不是提交引用git commit -m "remove .git"...原创 2021-06-10 11:17:19 · 608 阅读 · 0 评论 -
git合并分支时,忽略某个文件或者某个文件下的文件
合并时的坑会遇到修改了,但是不成功的原因:gitattribute方法生效是有条件的,跟文件的修改顺序有关系,只有先修改的往后来修改的合并的时候才会生效参考地址:https://blog.csdn.net/dunegao/article/details/103122360?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.control&depth_1-utm_source=di原创 2021-01-06 17:22:54 · 3174 阅读 · 2 评论 -
gitblit 命令/操作
添加:git clone 仓库地址(如图)更新队友的修改:上传本地修改:git commit –m “文件名”删除本地:git rm 文件名删除仓库中的:git commit -m “文件名”git push配置用户信息:git config –global user.email “emailAddress@126.com”git config –globa...原创 2019-09-26 11:17:33 · 1291 阅读 · 0 评论