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隐藏文件,将他删除,然后重复一遍打包上传操作
The following problems have occurred when adding the files: fatal: