{"thread":{"id":"24799","subject":"git commands","startedAt":"2010-08-20T07:17:38Z","lastAt":"2010-08-22T21:19:23Z","messageCount":7,"participants":["sandy2010","Joshua Juran","Jonathan Nieder","Matthieu Moy","Lin Mac","David Aguilar"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"148506","messageId":"1282288658094-5443370.post@n2.nabble.com","threadId":"24799","inReplyTo":null,"subject":"git commands","fromName":"sandy2010","fromEmail":"sandeeptt@yahoo.com","sentAt":"2010-08-20T07:17:38Z","receivedAt":"2010-08-20T07:17:38Z","isPatch":false,"sender":{"key":"sandeeptt@yahoo.com","avatar":null},"body":"\nI'm new to git and I wonder what is the difference between two commands:\n\n\"git clone\" and \"git-clone\" and which one should be use?\n\n-- \nView this message in context: http://git.661346.n2.nabble.com/git-commands-tp5443370p5443370.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"148507","messageId":"5F6739C3-B537-4694-BC63-F3F74962A47C@gmail.com","threadId":"24799","inReplyTo":"1282288658094-5443370.post@n2.nabble.com","subject":"Re: git commands","fromName":"Joshua Juran","fromEmail":"jjuran@gmail.com","sentAt":"2010-08-20T07:32:18Z","receivedAt":"2010-08-20T07:32:18Z","isPatch":false,"sender":{"key":"jjuran@gmail.com","avatar":null},"body":"On Aug 20, 2010, at 12:17 AM, sandy2010 wrote:\n\n> I'm new to git and I wonder what is the difference between two  \n> commands:\n>\n> \"git clone\" and \"git-clone\" and which one should be use?\n\n\nThey're the same command.  You should use the first form to actually  \nrun the command and the hyphenated form for consulting the manual:\n\n\tgit clone git://git.kernel.org/pub/scm/git/git.git\n\n\tman git-clone\n\nYou may get speedier responses to easy questions on IRC, in #git.\n\nCheers,\nJosh\n"},{"id":"148509","messageId":"20100820075111.GC24678@burratino","threadId":"24799","inReplyTo":"1282288658094-5443370.post@n2.nabble.com","subject":"Re: git commands","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2010-08-20T07:51:11Z","receivedAt":"2010-08-20T07:51:11Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"sandy2010 wrote:\n\n> I'm new to git and I wonder what is the difference between two commands:\n> \n> \"git clone\" and \"git-clone\" and which one should be use?\n\nBy the way, when documentation points to the latter (and is not\npointing to some man page like git-clone(1)), please feel free to let\nus know, preferrably with a patch. :)  There is a history that might\nhave left some of the documentation inconsistent.\n\nRegards,\nJonathan\n"},{"id":"148510","messageId":"vpq39u97m3l.fsf@bauges.imag.fr","threadId":"24799","inReplyTo":"5F6739C3-B537-4694-BC63-F3F74962A47C@gmail.com","subject":"Re: git commands","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2010-08-20T07:57:18Z","receivedAt":"2010-08-20T07:57:18Z","isPatch":false,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"Joshua Juran <jjuran@gmail.com> writes:\n\n> On Aug 20, 2010, at 12:17 AM, sandy2010 wrote:\n>\n>> I'm new to git and I wonder what is the difference between two\n>> commands:\n>>\n>> \"git clone\" and \"git-clone\" and which one should be use?\n>\n> They're the same command.\n\nExcept that \"git-clone\" doesn't work with Git >= 1.6. If you ask the\nquestion, I suspect you have a rather old version of Git and you're a\nbeginner.\n\nGit's user-friendlyness to newbies greatly improved over the last\nversions, so I'd suggest upgrading.\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"},{"id":"148513","messageId":"1282294163263-5443609.post@n2.nabble.com","threadId":"24799","inReplyTo":"vpq39u97m3l.fsf@bauges.imag.fr","subject":"Re: git commands","fromName":"sandy2010","fromEmail":"sandeeptt@yahoo.com","sentAt":"2010-08-20T08:49:23Z","receivedAt":"2010-08-20T08:49:23Z","isPatch":false,"sender":{"key":"sandeeptt@yahoo.com","avatar":null},"body":"\nYeah.. Actually, we were using git-15.6 and the command we used was\n'git-clone'. Later, I upgraded to git-1.7.1 and I found that in the\ninstallation directory, there was only 4 binaries including git. I was\nwondering were are the rest commands like git-clone, etc? Hence, I asked\nthis question.\n\nThanks all for your response. Correct way is to use 'git clone'.\n-- \nView this message in context: http://git.661346.n2.nabble.com/git-commands-tp5443370p5443609.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"148705","messageId":"AANLkTimRpwLZHve_cAY0JxLGKC4202i-V_Soq=m1_JsY@mail.gmail.com","threadId":"24799","inReplyTo":"1282294163263-5443609.post@n2.nabble.com","subject":"Re: git commands","fromName":"Lin Mac","fromEmail":"mkl0301@gmail.com","sentAt":"2010-08-22T10:41:35Z","receivedAt":"2010-08-22T10:41:35Z","isPatch":false,"sender":{"key":"mkl0301@gmail.com","avatar":null},"body":"Hi,\n\n2010/8/20 sandy2010 <sandeeptt@yahoo.com>:\n> Yeah.. Actually, we were using git-15.6 and the command we used was\n> 'git-clone'. Later, I upgraded to git-1.7.1 and I found that in the\n> installation directory, there was only 4 binaries including git. I was\n> wondering were are the rest commands like git-clone, etc? Hence, I asked\n> this question.\nI have the same question regarding the installation here. I'm trying\nto upgrade from v1.5.x to the newest. But found that there are only a\nfew files installed. Where are the rest? Should I uninstall the old\nversion before I install? And is there any issues for the newer\nversion works in respository made by v1.5.x, like git-svn?\n\nBest Regards,\nMac Lin.\n"},{"id":"148719","messageId":"20100822211921.GA27048@gmail.com","threadId":"24799","inReplyTo":"AANLkTimRpwLZHve_cAY0JxLGKC4202i-V_Soq=m1_JsY@mail.gmail.com","subject":"Re: git commands","fromName":"David Aguilar","fromEmail":"davvid@gmail.com","sentAt":"2010-08-22T21:19:23Z","receivedAt":"2010-08-22T21:19:23Z","isPatch":false,"sender":{"key":"davvid@gmail.com","avatar":"https://avatars.githubusercontent.com/u/13196?v=4"},"body":"On Sun, Aug 22, 2010 at 06:41:35PM +0800, Lin Mac wrote:\n> Hi,\n> \n> 2010/8/20 sandy2010 <sandeeptt@yahoo.com>:\n> > Yeah.. Actually, we were using git-15.6 and the command we used was\n> > 'git-clone'. Later, I upgraded to git-1.7.1 and I found that in the\n> > installation directory, there was only 4 binaries including git. I was\n> > wondering were are the rest commands like git-clone, etc? Hence, I asked\n> > this question.\n> I have the same question regarding the installation here. I'm trying\n> to upgrade from v1.5.x to the newest. But found that there are only a\n> few files installed. Where are the rest? Should I uninstall the old\n> version before I install? And is there any issues for the newer\n> version works in respository made by v1.5.x, like git-svn?\n> \n> Best Regards,\n> Mac Lin.\n\nUninstall the old one and install the new one.\nAll the same commands are there, they're just organized\nnicer so that they don't have to necessarily live in your $PATH.\n\nThe old version provided commands like 'git-clone' in /usr/bin.\nYou cannot use them like that anymore.\nThese days we say 'git clone' (no dashes).\n\nHere's a blurb from http://lkml.org/lkml/2008/8/17/174\n\nGIT v1.6.0 Release Notes\n========================\nUser visible changes\n--------------------\nWith the default Makefile settings, most of the programs are now\ninstalled outside your $PATH, except for \"git\", \"gitk\" and\nsome server side programs that need to be accessible for technical\nreasons.  Invoking a git subcommand as \"git-xyzzy\" from the command\nline has been deprecated since early 2006 (and officially announced in\n1.5.4 release notes); use of them from your scripts after adding\noutput from \"git --exec-path\" to the $PATH is still supported in this\nrelease, but users are again strongly encouraged to adjust their\nscripts to use \"git xyzzy\" form, as we will stop installing\n\"git-xyzzy\" hardlinks for built-in commands in later releases.\n\n-- \n\n\tDavid\n"}]}