Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resolve Git error: "Couldn't create temporary repository"

I am extremely new to the concept of Git. I installed the Git plugin for Eclipse and I'm now trying to clone a one year old Eclipse project.

First, I was getting an error saying:

Cannot list the available branches.
Reason-Exception caught during execution of ls-remote command.

I solved that by doing some ssh-related property changes.

Now I am getting an error saying,

Couldn't create temporary repository.

How can I resolve this problem?

like image 661
user1379305 Avatar asked Jun 26 '12 06:06

user1379305


1 Answers

Assuming that you are on windows: Try to delete file C:/Documents and Settings/[username]/.gitconfig.

like image 181
Anderson Avatar answered Oct 15 '22 09:10

Anderson