【发布时间】:2019-11-20 17:18:14
【问题描述】:
当我尝试将所有文件添加到 gitRepo 时,它说:
$ git add .
error: 'ConnectorApp/' does not have a commit checked out
fatal: adding files failed
当我试图删除空文件夹时,它说:
$ git rm ConnectorApp/
fatal: pathspec 'ConnectorApp/' did not match any files
还有其他解决方案可以清除这个空文件夹以将文件添加到我的 gitRepo 吗?
【问题讨论】:
-
看起来该文件夹根本没有被识别为礼品库。您在根文件夹中看到 .git 文件夹吗?如果没有,则您没有克隆或结帐。可以使用 git init 来初始化
标签: git