在下载的 linux 的源码上进行 git init 的时候报错。 fatal: Invalid path '/home/topeet/source_code/xikejiqiren/3588-linux/.repo': No such file or directory 这是可能的原因。 本栏目推荐文章linux 安装最新版本gitgit bash报错fatal: detected dubious ownership in repository at的解决方法git commit规范Git提交规范如何把已有项目上传到git一段shell代码可用于git部署代码到服务器的操作openEuler欧拉设置git pull免密git常用命令安装篇 —— gitConditional Git Configuration 有条件配置Git信息gitgit2 git_ssh commit git 分支git 笔记git 代码git 仓库git git tag stash git git-lfs