Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 .gitignore 有问题
这里有我的 .gitignore 内容:
application/configs/application.ini cache/ uploads/ thumbs/ docs/ .htaccess *.swp *~ nbproject/
它适用于所有这些,除了 application/configs/application.ini
我不明白为什么
你能帮我么
谢谢 :)
application/configs/application.ini可能已经被跟踪。 您需要将其从您的存储库中删除,以便将来被忽略:git rm --cached application/configs/application.ini.
git rm --cached application/configs/application.ini