git push:update the ref 报错解决
文章目录
git push 时报错
error: update_ref failed for ref 'refs/remotes/origin/master': cannot update the ref 'refs/remotes/origin/master': unable to append to '.git/logs/refs/remotes/origin/master': Permission denied
这是由于部分文件的权限没有造成的,sudo执行即可解决问题
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论