I have installed msysGit on several of my computers and only have problems on one particular computer (my main work computer of course). ‘git clone’ does not work. When I run the clone command on a repository, this occurs:
C:\Projects>git clone git://github.com/[user]/[project].git
Initialized empty Git repository in C:/Projects/[project]/.git/
It starts populating the .git directory, but never pulls down anything else. I’ve left it going for a couple of hours to see if it would at least throw an error. It continues to sit there. If I try and cancel it, it works just fine. It just never seems to pull the repository down. I’ve tried this on multiple repositories from multiple places. Does anyone have a clue what may be happening?
Did you try to clone with the http address?
The is currently a ticket with msysgit (issue 136) with the same problem, for which the current workaround is to clone with the http rather than the git address.
Other moves to try:
GIT_TRACE=1(and post the output)Here switching to an older version of msysgit could be the right option:
See this GitHub support thread:
The problem might actually affect any Git1.6.4 and older:
See this thread.
The GitHub support teams is currently investigating the problem:
Git1.6.4.4 does contain a fix since September, 16th:
But mssysgit has yet to release (September 21th) any new build since the original 1.6.4 late July. (They are probably waiting for 1.6.5 or 1.7)