我使用$ 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存儲庫然後進行提交,我也總是有相同的消息。
感謝