为什么改了代码,push到远程仓库却没有

4 阅读1分钟

error: 'docker/data/plugins/CourseAssistant/' does not have a commit checked out 这个文件夹自己是一个 Git 仓库,不能直接加到主项目里,删掉隐藏的.git/ 就好了

$ ls -a ./ .env .git/ .vscode/ assets/ data/ manifest.yaml requirements.txt ../ .env.example .gitignore pycache/ components/ main.py README.md

rm -rf .git

git提交代码流程 git pull git add . git commit -m "" git push