加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

windows – 无法完全删除git存储库

发布时间:2020-12-14 02:13:23 所属栏目:Windows 来源:网络整理
导读:我一直在 windows-msysgit上使用git.每当我尝试使用资源管理器或使用时完全删除存储库 $git rm -rf ptp/fatal: Not a git repository (or any of the parent directories): .git 它出错“重新分析点缓冲区中存在的数据无效”或上面的致命错误. 我/ git有什么
我一直在 windows-msysgit上使用git.每当我尝试使用资源管理器或使用时完全删除存储库

$git rm -rf ptp/
fatal: Not a git repository (or any of the parent directories): .git

它出错“重新分析点缓冲区中存在的数据无效”或上面的致命错误.

我/ git有什么问题?

提前致谢

解决方法

要删除git repo,只需执行rm -rf ptp /.而已. git rm用于从索引[更改/新文件的暂存区域]移动项目,而不是删除git存储库.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读