1

Me working in Windows, so for Git I downloaded and installed msysGit-fullinstall-1.7.3.1 from msysgit. And run as specified there. Then I tried to get Gallery application from Android open source project, as specified there in my git console:

git clone git://android.git.kernel.org/platform/packages/apps/Gallery.git 

it shows the following error No such file or directory

alt text

What did I miss here? I don't if know is this the correct way to get code from Android on Windows.

JasonMArcher
  • 14,195
  • 22
  • 56
  • 52
Labeeb Panampullan
  • 34,521
  • 28
  • 94
  • 112

2 Answers2

4

You misspelled the hostname in your screen capture. I just tried it with the hostname you specified, and received the message:

$ git clone git://android.git.kernal.org/platform/packages/apps/Gallery.git
Cloning into Gallery...
android.git.kernal.org[0: 68.171.33.192]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)

It's kernel.org, not kernal.org.

Sdaz MacSkibbons
  • 27,668
  • 7
  • 32
  • 34
1

I also have mysis git for windows (version 1.7.3.1-preview20101002)... I pasted your command in and it worked!

$ git clone git://android.git.kernel.org/platform/packages/apps/Gallery.git
Cloning into Gallery...
remote: Counting objects: 1056, done.
remote: Compressing objects: 100% (402/402), done.
remote: Total 1056 (delta 457), reused 1041 (delta 450)
Receiving objects: 100% (1056/1056), 952.46 KiB | 292 KiB/s, done.
Resolving deltas: 100% (457/457), done.

$ ls Gallery
Android.mk  AndroidManifest.xml  CleanSpec.mk  MODULE_LICENSE_APACHE2  NOTICE  res  src  tests

Is it possible there's a firewall blocking your connection? - http://support.github.com/discussions/repos/957-cant-clone-over-http-or-git

PandaWood
  • 8,086
  • 9
  • 49
  • 54