0

I created these repos which worked fine then I installed Windows 8 (from Windows 8 RC), the repos were in a different hard drive so they remained.

When I try to clone the repos now I get the following error:

git.exe clone --progress -v "E:\JabberRepo\broken\Jabber2" "C:\Users\Ahmed\Desktop\Jabber2"

Cloning into 'C:\Users\Ahmed\Desktop\Jabber2'... fatal: failed to copy file to 'C:\Users\Ahmed\Desktop\Jabber2/.git/objects/4b/345b002559536455b6766bc5cec27c09f661cf': Permission denied fatal: The remote end hung up unexpectedly

git did not exit cleanly (exit code 128) (62 ms @ 16/12/2012 10:02:58 PM)

And similar 'permission denied' errors when trying to push to the local repo.

Any ideas how I can fix this?

4

1 回答 1

1

该问题可能与 git 无关,而是 Windows 问题。您当前的用户无权访问E:\JabberRepo\broken\Jabber2. 您可以在资源管理器中打开文件夹及其.git文件夹吗?

您需要按照此处的说明更改文件权限。

于 2012-12-16T12:31:46.230 回答