does not have a commit checked out

当你的输出 git add .  报一下错误时:

 

 解决方法:

百分之九十九 是你的子文件夹中有 git 这个文件 请把它删除掉 就可以正常添加到暂存区了

posted @ 2022-05-02 10:38  小忱  阅读(1444)  评论(0)    收藏  举报