明明thinkphp文件夹及里面的各种文件远程仓库里面没有,本地有,但是怎么git add . git commit -m 都表明没有文件

 

 网上搜索原因:

https://blog.csdn.net/oncealong/article/details/96446417

 

 

 

 参考: https://stackoverflow.com/questions/9436405/git-is-ignoring-files-that-arent-in-gitignore

或者按提示操作:

找到无法提交的文件夹或文件

单独git add

 

The following paths are ignored by one of your .gitignore files:
thinkphp
hint: Use -f if you really want to add them.
hint: Turn this message off by running
hint: "git config advice.addIgnoredFile false"
提示如果你真的想要提交 使用 -f添加它们

 

 

 

 添加成功。

 

posted on 2021-01-28 12:52  Beautytoloveme  阅读(814)  评论(0编辑  收藏  举报