Get started using mercurial without cloning

Matt Mackall mpm at selenic.com
Tue Apr 6 15:37:56 CDT 2010


On Tue, 2010-04-06 at 15:25 -0500, Harry Putnam wrote:
> TK Soh <teekaysoh at gmail.com> writes:
> 
> >> If you want all of that structure in one repository, simply cd to the
> >> root folder, then run:
> >>
> >> hg init
> >> hg add
> >> hg commit -m "initial commit"
> >
> > Or to skip 'hg add':
> >
> >   hg commit -A -m "initial commit"
> 
> Ahh, nice and concise.  Thanks.  
> 
> Too bad this kind of info does not seem to be included in the `getting
> started' section of `Mercurial: The Definitive Guide'.

That'd be under the "Starting A New Project" section of Chapter 2.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial mailing list