man cg-clone (Commandes) - clone a remote git repository

NAME

cg-clone - clone a remote git repository

SYNOPSIS

cg-clone [-l] [-s] LOCATION [DESTDIR]

DESCRIPTION

This is like cg-init, but it will create a new directory where it will do the checkout.

Takes a parameter specifying the location of the source repository and an optional second parameter specifying the destination. If the second parameter is omitted, the basename of the source repository is used as the destination.

OPTIONS

-l
Symlink the object database when cloning locally, instead of hardlinking all the objects. This is suitable for very fast cloning of arbitrarily big repositories, but might be a trouble in multi-user environments, and less solid arrangement in case you do dangerous things with the database. Also, disappeared or moved origin repository will obviously render this one unusable as well. The choice is yours. Note that you MUST NOT prune repository containing a symlink or being symlinked to.
-s
Clone in the current directory instead of creating a new one. Specifying both -s and a destination directory makes no sense.
-h, --help
Print usage help.

COPYRIGHT

Copyright © Petr Baudis, 2005

SEE ALSO

cg-clone command is part of cogito(7), a toolkit for managing git(7) trees.