github-权限错误

github-权限错误,github,github-for-mac,Github,Github For Mac,在我们的linode服务器上,我们安装了git。我们可以拉我们的开发部门,但不能拉主人。当我们尝试使用以下命令时,会出现以下错误: 命令: git remote set-url origin https://myusername@github.com/projectname/Projectname.com.git 错误: error: could not lock config file .git/config: Permission denied 我们面临着启动laravel网站的压力,似

在我们的linode服务器上,我们安装了git。我们可以拉我们的开发部门,但不能拉主人。当我们尝试使用以下命令时,会出现以下错误:

命令:

git remote set-url origin https://myusername@github.com/projectname/Projectname.com.git
错误:

error: could not lock config file .git/config: Permission denied

我们面临着启动laravel网站的压力,似乎无法再进一步了。

该文件和父目录的权限/所有权是什么?它看起来确实不可写,但很难看到我们如何更改权限。你能给点建议吗?