The following problems have occurred when adding the files: fatal:

git add .命令出现错误:
The following problems have occurred when adding the files: fatal: not a git repository (or any of the parent directories): .git during executing git D:\Git\cmd\git.exe -c core.quotepath=false -c log.showSignature=false ls-files --ignored --others

解决方法:
进入你想上传的文件目录,找到:.git隐藏文件,将他删除,然后重复一遍打包上传操作
在这里插入图片描述

发布了38 篇原创文章 · 获赞 15 · 访问量 1690

猜你喜欢

转载自blog.csdn.net/hyh17808770899/article/details/105212936
今日推荐