Search code examples
androidgitwindowandroid-source

How to get code from git in windows


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.


Solution

  • 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.