版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wepe12/article/details/83270728
如:git add a.php 出现了如下问题
The following paths are ignored by one of your .gitignore files:
Use -f if you really want to add them.
fatal: no files added
遇到这种情况时候需要使用git add -f 命令强制添加这个文件: