On branch master\n
Your branch is up to date with 'origin/master'.\n\n
Changes not staged for commit:\n
(use "git add <file>..." to update what will be committed)\n
(use "git restore <file>..." to discard changes in working directory)\n
(commit or discard the untracked or modified content in submodules)\n\tmodified: sm18-lazy-package-main (modified content, untracked content)\n\n
no changes added to commit (use "git add" and/or "git commit -a")\n
最后检查出来是git仓库嵌套问题,删除子git仓库就解决了。十分感谢lz!