git commands

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

git commands

From: sandy2010 <hidden>
Date: 2016-06-15 22:49:21

I'm new to git and I wonder what is the difference between two commands:

"git clone" and "git-clone" and which one should be use?

-- 
View this message in context: http://git.661346.n2.nabble.com/git-commands-tp5443370p5443370.html
Sent from the git mailing list archive at Nabble.com.

Re: git commands

From: Joshua Juran <hidden>
Date: 2016-06-15 22:49:21

On Aug 20, 2010, at 12:17 AM, sandy2010 wrote:
I'm new to git and I wonder what is the difference between two  
commands:

"git clone" and "git-clone" and which one should be use?

They're the same command.  You should use the first form to actually  
run the command and the hyphenated form for consulting the manual:

	git clone git://git.kernel.org/pub/scm/git/git.git

	man git-clone

You may get speedier responses to easy questions on IRC, in #git.

Cheers,
Josh

Re: git commands

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:49:21

sandy2010 wrote:
I'm new to git and I wonder what is the difference between two commands:

"git clone" and "git-clone" and which one should be use?
By the way, when documentation points to the latter (and is not
pointing to some man page like git-clone(1)), please feel free to let
us know, preferrably with a patch. :)  There is a history that might
have left some of the documentation inconsistent.

Regards,
Jonathan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help