首页 > Web开发 > 详细

git上传tp5项目时thinkphp文件夹无法上传

时间:2021-01-28 18:15:46      阅读:124      评论:0      收藏:0      [点我收藏+]

明明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添加它们

技术分享图片

 

 技术分享图片

 

 添加成功。

 

git上传tp5项目时thinkphp文件夹无法上传

原文:https://www.cnblogs.com/keketoloveme/p/14339206.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!