Git 给了我一个“Permission Denied".写入我正在拉取的文件时出错 [英] Git gives me a "Permission Denied" error when writing files that I am pulling

查看:34
本文介绍了Git 给了我一个“Permission Denied".写入我正在拉取的文件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的 Windows 机器上,当我提取我的仓库时,我得到:

On my Windows machine, when I pull my repo I get:

error: unable to crate file <path to file> (Permission denied)

我认为问题可能是当我查看文件夹的属性时,复选框内有一个正方形,我将其清除,这样就不会读取任何文件或文件夹.

I think the problem might be that when I look at the properties of the folder there is a square inside the checkbox, I clear it out so that no files or folders will be read only.

在按下确定并检查 Windows 是否应用了我的更改后,我又看到了方块!

After pressing ok and checking to see if Windows applied my changes, I see the square again!

我怎样才能让 Git 或 Windows 允许我获得我的提交?

How can I get Git or Windows to allow me to get my commits?

推荐答案

使用 Run As Administrator

这篇关于Git 给了我一个“Permission Denied".写入我正在拉取的文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆