我使用$ rm -rf .git
我的项目文件夹中删除.git
文件夹,但是当我尝试运行命令$ ./bin vendors install
(这是一个Symfony2的项目),我得到:如何从项目中完全删除git?
Installing/Updating symfony
M src/Symfony/Bridge/Twig/Resources/views/Form/form_table_layout.html.twig
"symfony" has local modifications. Please revert or commit/push them before running this command again.
但作为.git
做我再也不能犯现在不存在。但即使我创建另一个Git存储库然后进行提交,我也总是有相同的消息。
感谢