The [clone] Command
Clone a repository into a new directory
Usage
libra clone <REMOTE_REPO>
[LOCAL_PATH]
Arguments
<REMOTE_REPO>
- The remote repository location to clone from, current only support HTTP/HTTPS.[LOCAL_PATH]
- The local path to clone the repository to. If not provided, the repository will be cloned to the current directory.
Description
Clones a repository into a newly created directory, creates remote-tracking branches for each branch in the cloned repository , and creates and checks out an initial branch that is forked from the cloned repository’s currently active branch.
Options
-h
,--help
Print help
Note:
Currently, libra only support clone from HTTP/HTTPS. SSH & Local path will be supported in the future. git clone support more protocols and options, refs https://git-scm.com/docs/git-clone for more information.