84669 人学习
152542 人学习
20005 人学习
5487 人学习
7821 人学习
359900 人学习
3350 人学习
180660 人学习
48569 人学习
18603 人学习
40936 人学习
1549 人学习
1183 人学习
32909 人学习
* !about/* !.gitignore !extend/* !extend/core/2029321.php !extend-library/* !imaegs/*
*忽略库中的所有文件 之后下面开始添加例外 现在问题来了 1、已经提交过的文件 删除 和 更变都会被检测 2、新建立的文件 例如extend/core/2029321.php 就不会被检测。
求解、
闭关修行中......
转自 Stack Overflow
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"
转自 Stack Overflow
git rm -r --cached .
从 index 内删除所有变更过的文件git add .
和git commit -m ".gitignore is now working"