[英]unable to create '/var/www/html/myproject/.git/index.lock' read-only file system
I followed many answers related on my problem but did not work for me. 我遵循了与我的问题有关的许多答案,但对我没有用。
when i run on server 当我在服务器上运行
git pull
i got this error 我得到这个错误
unable to create '/var/www/html/myproject/.git/index.lock' read-only file system
It seems your filesystem has just damaged for some reason, and the OS remounted with read-only. 似乎您的文件系统由于某种原因刚刚损坏,并且操作系统以只读方式重新安装。 You may try to reboot your system.
您可以尝试重新启动系统。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.