Re: git clone



Hell Reece,

Thank you, It works!


Cheer,
Sokhem

On 10/22/2012 4:37 PM, Reece Dunn wrote:
On 22 October 2012 10:15, Khoem Sokhem <sokhem open org kh> wrote:
Hello All Members,

I try to clone modules from git.gnome with the command line: git clone
ssh://khem git gnome org/Modulename

but I got the error message said that
"localization@linux-n9nb:~/Documents/loc/GNOME> git clone
ssh://khem git gnome org/git/gnome-3-6
Initialized empty Git repository in
/home/localization/Documents/loc/GNOME/gnome-3-6/.git/
fatal: '/git/gnome-3-6' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
localization@linux-n9nb:~/Documents/loc/GNOME>"

I am not sure what cause the error, Could you please help on this?
If you look at http://git.gnome.org/browse/ you will find that
gnome-3.6 does not exist, hence the error you are getting. The project
'gnome' also does not exist -- rather, gnome is the combination of all
the sub-components listed on git.gnome.org.

Most of the components have gnome-VERSION branches within them --
maybe this is what you are trying.

For example, to get the gnome-3.6 version of gnome-games, you need to do:

     $ git clone ssh://khem git gnome org/git/gnome-games
     $ cd gnome-games
     $ git checkout gnome-3.6

The git clone command gets all the code for the gnome-games project,
while the git checkout command switches to the gnome-3.6 development
line.

HTH,
- Reece





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]