错误:无法解除旧链接。尝试从git获取更改时

时间:2019-05-02 08:23:30

标签: git

我试图将一些更改添加到git存储库中,但仍然出现以下错误:

 * branch            master     -> FETCH_HEAD
Updating 1ea49ef..1e423fb
error: unable to unlink old 'app/templates/projects/project_2.html' (Permission denied)
error: unable to unlink old 'app/templates/projects/project_5.html' (Permission denied)

我试图在论坛上找到答案,并应用sudo chmod -R ug+w .之类的解决方案,但这并不能解决我的错误。

如何从git存储库下载更改?任何帮助将不胜感激。

0 个答案:

没有答案