高效码农

撰写、分享国内外先进的IT技术

分类 git 下的文章

November 24, 2021

Git 使用常用报错汇总

环境介绍托管系统为:Gitolite - 轻量级的 Git 代码托管系统客户端Git版本:2.34.0服务端Git版本:1.9.0Git操作报错无论是提交还是拉取都会报错,报错如下:Unable to negotiate with 服务器IP port 22: no matching host key type found Their offer: ssh-rsa, ssh-dss fata...
March 10, 2019

Liunx下git无法添加跟踪子文件夹

git管理的项目中添加了另一个远程仓库的项目,导致无法提交子文件夹删除.git:rm -rm .git清除缓存:git rm --cached directory添加git跟踪:git add directory注:directory为子文件夹的路径。